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.

Updated 2026-10-09

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.

TypeClaude code mod
Authoralokm3hta-star
Repositoryalokm3hta-star/Claude-Mods
Popularityno public popularity data yet
CategorySecurity
SecurityReview before installing (76/100)
Rank#2,571 of 5,272 Claude Code mods; #305 in Security
LicenseApache-2.0
Last commit2026-10-09
Hooks2 events
SeesBash calls
Draws onnothing

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.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes no files or configPass
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.env.getreads env vars
$.process.runruns processes
$.session.cwd

How do I install git-guard?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. 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
  3. 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)