Configurable pre-commit checks for Git