[git] Add ctags hooks for git

Taken from here:
http://tbaggery.com/2011/08/08/effortless-ctags-with-git.html