$ git config --global init.templatedir '~/.git-templates'
This tells git to copy everything in ~/.git-templates
to your per-project .git/
directory when you run git init
$ mkdir -p ~/.git-templates/hooks
$ chmod 755 ~/.git-templates/hooks/*
$ git init
NOTE if you already have a hook defined in your local git repo, this will not overwrite it.