Correctly location of pre-commit hook