Claude Code mod
git-confirm
Refuses force-pushes, and before a git command that would destroy work that isn't Claude's own, shows an alarm with what would be lost and asks
Install
/plugin marketplace add NikolajMosbaek/claude-tooling
/plugin install git-confirm@claude-toolingMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- L2Writes or runs: runs processes, reads files, reads mod state, plays audio, draws
- Sees
- Bash calls, every tool call, AskUserQuestion calls
- Draws in
AskUserQuestion- Hooks
tool.callui.render
From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.
How Claude Code mods work
- A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
- It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
- Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
- Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Details
- Repository
- NikolajMosbaek/claude-tooling
- Folder
git-confirm- Marketplace
claude-tooling- Author
- Nikolaj Søgaard Simonsen
- Last updated
- 4 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is git-confirm?
Refuses force-pushes, and before a git command that would destroy work that isn't Claude's own, shows an alarm with what would be lost and asks It is a mod for Claude Code, from NikolajMosbaek/claude-tooling on GitHub.
What can the git-confirm mod access?
Its widest reach is "writes or runs" (runs processes, reads files, reads mod state, plays audio, draws). It sees Bash calls, every tool call, AskUserQuestion calls. It draws in AskUserQuestion. Like any mod, it runs with your permissions.
How do I install git-confirm?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add NikolajMosbaek/claude-tooling and then /plugin install git-confirm@claude-tooling.
More git & github mods
git-changes
fbandres/ccmods
Live Source Control pane: the repo's changed files and the project's open issues, toggled with /changes
git-diff-timeline
liawzishen/claude-code-mods
Git Diff timeline above the prompt: click a commit to see it, click two to compare them, with their commit messages; a Branches tab compares two branches; a GitHub-style files view shows each file's diff. Works with any git remote.
git-casino
Talap-creator/git-casino
Every git commit spins a slot machine; a clean commit pays double and green CI on the first try hits the jackpot
git-file-tree
CosminBd/claude-git-file-tree
A git pane for Claude Code: review what Claude changed (per prompt, uncommitted or the whole branch), read diffs and rendered Markdown, then stage, commit, push and open a PR without leaving the terminal.
git-band
irfanfaraaz/claude-kit
Git state above the prompt: branch, upstream, ahead/behind, Claude vs your changes, PR and CI, worktree, stash; toasts where each commit landed
git-graph
juliomyitbrain/claude-code-git-graph
A pane that draws the repository's commit graph: lanes, merges and branch labels, with a card of details for a clicked commit
Browse the most popular Claude Code mods, all git & github mods, or the skills and MCP server directories.