> For the complete documentation index, see [llms.txt](https://wiki.omar.engineer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.omar.engineer/version-control/git.md).

# Git

**Links**

* [How to Write a Git Commit Message](https://chris.beams.io/posts/git-commit/).
* [How to discover a bug using git bisect](https://flaviocopes.com/git-bisect/).

## Hook managers

Git hook managers are very useful if you want to ensure code is formatted/tests are run before you can commit, and you can even prevent comitting if the fail.

* [overcommit](https://github.com/sds/overcommit) - A fully configurable and extendable Git hook manager.
