What is git-guard?
git-guard is a Claude Code mod by alokm3hta-star that keep Claude out of your git history: no co-author trailer, no PR footer, and no push of a commit that carries one. It is listed under Security and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | alokm3hta-star |
| Repository | alokm3hta-star/Claude-Mods |
| Popularity | no public popularity data yet |
| Category | Security |
| Security | Review before installing (76/100) |
| Rank | #2,571 of 5,272 Claude Code mods; #305 in Security |
| License | Apache-2.0 |
| Last commit | 2026-10-09 |
| Hooks | 2 events |
| Sees | Bash calls |
| Draws on | nothing |
Is git-guard safe to install?
git-guard scores 76/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; reads environment variables. It passed 6 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes no files or config | Pass |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.env.get | reads env vars |
$.process.run | runs processes |
$.session.cwd |
How do I install git-guard?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/alokm3hta-star/Claude-Mods claude plugin validate ./Claude-Mods/mods/git-guard
- Install it. Run this in your terminal, then /reload-plugins in an open session.
git clone https://github.com/alokm3hta-star/Claude-Mods && claude --plugin-dir ./Claude-Mods/mods/git-guard
Or ask Claude to set it up
Paste this into Claude Code and it installs git-guard for you:
Install the "git-guard" Claude Code mod from https://github.com/alokm3hta-star/Claude-Mods/tree/main/mods/git-guard. Run claude plugin validate on it first and show me what it can access before you enable it.
More from alokm3hta-star/Claude-Mods
This repository has 7 Claude Code mods on MCPMods.
- client-mask: Mask client names, personal data and secrets before anything leaves this machine; keep the list private and leave no tra (High risk)
- context-bar: Context fill as a bar above the prompt, with prompt-cache hit rate and whether the cache is still warm (Review before installing)
- control-panel: Click instead of remembering: a panel of each project's own commands and playbooks, what needs you now, a wiki desk for (High risk)
- house-style: Hold documents Claude writes to your house style: no dashes, British spelling, none of your banned words. It enforces th (Low risk)
- released-objects: Flag SAP objects in ABAP code that are not released, deprecated or have no API, with SAP's successor, using SAP's own re (Low risk)
- workspace-board: One board for what is waiting on you across your projects: sessions waiting for an answer or approval, proposals to revi (High risk)