Learnshots
Tutorial: Git Hooks
atlassian.com
Git hooks are scripts that run automatically every time a particular event occurs in a Git repository.