Git pre-commit hook validation