All Git hooksPreToolUsePreToolUsePostToolUsePreToolUse
Best Claude Code hooks for git workflows on Git (May 2026)
4 curated Claude Code hooks that handle git workflows on Git projects. Install commands, configs, and copy-paste setup, refreshed May 2026.
4 items matching Git & Git Workflows.
Branch Protection
Prevents direct file edits when on protected branches like main or production
gitbranchprotectionsafety
Commit Message Linter
Validates that commit messages follow conventional commit format before allowing commits
gitcommitlintingconventional-commits
Auto Changelog
Automatically appends entries to CHANGELOG.md when Claude commits code, capturing the date and commit message
changelogdocumentationgitautomation
Auto PR Description
Automatically generates a pull request description from commit messages and changed files when creating a PR
gitprautomationgithub