branch-guard 0.1.0

Stops Claude from editing files or running mutating git commands on main or master, and points it at a worktree instead.

Malhar Ujawane 1 on Justmalhar/awesome-claude-mods

Install

Claude Code
/plugin marketplace add Justmalhar/awesome-claude-mods
/plugin install branch-guard@awesome-claude-mods

Run both lines inside Claude Code.

Hooks into

  • Tool calls

Also in Justmalhar/awesome-claude-mods

More git mods

All git mods
Repo stars
1
Repo forks
0
License
MIT
Last commit
Checked
6846616,
Source on GitHub