Use git hooks to run ctags automatically

Stolen entirely from
http://tbaggery.com/2011/08/08/effortless-ctags-with-git.html