# Pre-commit hook

say it: **“PREE kuh-MIT HUK”** **/ˈpri kəˈmɪt hʊk/**

A client-side hook that runs before Git creates a commit.

## What is **Pre-commit hook**?

**Pre-commit hook** — A client-side hook that runs before Git creates a commit.

Level: Journeyman · [More Git terms at this level](https://www.ask-codey.com/glossary?category=git&level=3)

Updated: November 17, 2026

Source: https://www.ask-codey.com/glossary/pre-commit-hook
