When developing or fine-tuning git hooks the following alias might come in handy. Simply add it to your
~/.profile and reload your profile via
alias gh='cd $(git rev-parse --git-dir)/hooks'
Now when working in a git repository
gh will take you instantly to it's relevant hooks directory.