Git Deep Dive

https://www.atlassian.com/git/tutorials/git-hooks