Git Hooks — The Missing Tutorial
Automate stuff? That’s what programming should be about
Using Git Hooks is just like having automated robots who do whatever you want, when a command is run in Git.
Now, since you should be running Git anyway (unless you are running some other version control software) so it is like you’ve got slaves working for you for free! How great is that!