Added git_hook for easily adding a pre-commit hook