1 Git hooks are executable scripts you can place in $GIT_DIR/hooks directory to trigger action at certain points.
3 To install manually, run:
5 cd .git/hooks && ln -s ../../.git-hooks/* ./
7 There are two groups of these hooks: client side and server side.
10 are for client operations such as committing and merging.
12 The server-side hooks:
13 are for Git server operations such as receiving pushed commits.
15 See Also [ http://git-scm.com/book/en/Customizing-Git-Git-Hooks ]