← back

category

Git hooks and commit messages

Install and run the checks a repository wants before a commit or a push, and check or prompt for commit messages in a convention.

Side by side

Git hooks and commit messages
ToolStarsLicenceTermsSelf-hostedLanguageLatestLast push
husky35kMITOpen sourceNoJavaScriptv9.1.72026-03-19
commitlint19kMITOpen sourceNoTypeScriptv21.2.42026-11-23
pre-commit16kMITOpen sourceNoPythonv4.7.02026-11-09
lefthook9.1kMITOpen sourceNoGov2.2.22026-11-16
prek8.8kMITOpen sourceNoRustv0.5.112026-11-23
Overcommit4kMITOpen sourceNoRubyv0.76.02026-11-11
simple-git-hooks1.7kMITOpen sourceNoJavaScript2.14.02026-08-28
cz-git1.5kMITOpen sourceNoTypeScriptv1.14.02026-08-22

8 tools

pre-commit

A framework for managing and maintaining multi-language pre-commit hooks.

Language
Python
Licence
MIT
Stars
16k
Latest
v4.7.0
Last push
2026-11-09
lefthook

Fast and powerful Git hooks manager for any type of projects.

Language
Go
Licence
MIT
Stars
9.1k
Latest
v2.2.2
Last push
2026-11-16
prek

⚡ A fast Git hook manager written in Rust, designed as a drop-in alternative to pre-commit, reimagined.

Language
Rust
Licence
MIT
Stars
8.8k
Latest
v0.5.11
Last push
2026-11-23
Overcommit

A fully configurable and extendable Git hook manager

Language
Ruby
Licence
MIT
Stars
4k
Latest
v0.76.0
Last push
2026-11-11
cz-git

cz-git | czg 🛠️ DX first and more engineered, lightweight, customizable, standard output format Commitizen adapter and CLI

Language
TypeScript
Licence
MIT
Stars
1.5k
Latest
v1.14.0
Last push
2026-08-22

What these tools replace