Getting started with Git Hooks using ghooks
Git hooks are configured scripts that are executed at specific moments during git operations. ghooks is a package that configures git hooks so that specific commands can be run at those moments.
blog.soshace.com