A small collection of githooks which are useful in most repositories.
Copy the hooks directory to the init.templateDir specified in your
.gitconfig. If you don't have such an entry, add one.
mkdir ~/.git-template
git config --add init.templateDir ~/.git-template[init]
templateDir = ~/.git-template
Whenever you create a new repository (by git init or git clone) the
contents of init.templateDir will be copied to the .git directory. This
allows you to get all your hooks (or other files) configured in each repo
right away.