Derived from https://github.com/cloudaper/sketch-git-hooks
Read more in the story on Medium.
Run following commands.
$ git clone git@github.com:ozgurgunes/sketch-git-hooks.git
$ ./sketch-git-hooks/setup.sh
Your repo is ready for Git actions. Checkout anything to generate Sketch files.
$ git checkout master
Feel free to contribute.