Pre-commit hooks for git