Too Long; Didn't Read
Git hooks are scripts that are triggered by certain actions in the software development process, like committing or pushing. By automatically pointing out issues in code, they allow reviewers not to waste time on mistakes that can be easily diagnosed by a machine. There are client-side hooks, that execute locally on the developers’ workstation, and server hooks that execute on the centralized version control system. The most useful git hooks on GitHub are pre-commit, pre-push and pre-receive hooks.