Description
Git hooks can be configured and run consistently across a project. It is useful for teams that want checks, formatting, tests, or scripts to run before commits and pushes.
Hooks execute commands from the repository context. Review hook configuration before enabling it, especially in projects from untrusted sources.