git: pre-commit-hook script