Git pre-commit hook