What it doesBasics
- Status, diff, log, and branch inspection
- Scoped staging and commits
- Remote synchronization
- Worktree-aware repository discovery
- Structured bounded evidence for review
First useBasics
- Inspect the intended checkout and a bounded diff before staging or committing anything.
- Preview the exact files and operation.
- Mutate only after the surrounding workflow authorizes it.
Everyday tasksEveryday use
Create a reviewed agent commit
An agent has changed approved files and needs to commit without sweeping unrelated work into the result.
- Inspect branch, worktree, and staged state.
- Review bounded diffs for the intended paths.
- Commit only those paths with a conventional-commit subject.
- Inspect the resulting commit and remaining worktree changes.
What you getThe intended change is committed while unrelated files remain visible and untouched.
How to check: Pre-commit status and diff, returned commit identifier, and post-commit status.
Plan and complete a feature-branch rebase
A feature branch must be reconciled with the expected develop baseline without hiding conflicts.
- Inspect the branch and require a clean worktree.
- Request the rebase plan against the supported baseline.
- Start the reviewed plan.
- Resolve any surfaced conflicts and continue, or abort to restore the prior state.
- Inspect history and status before any push.
What you getHistory changes follow an explicit plan with a recoverable abort path.
How to check: Rebase plan and status, conflict details if any, final history, and clean-state inspection.
Settings to decideAdvanced
- Repository context
- Resolve the exact repository and worktree before inspection or mutation.
- Inspection bounds
- Select file, line, and byte limits appropriate to review, and treat truncation as a prompt to narrow the query.
- Repository policy
- Keep protected branches, clean-checkout requirements, conventional commits, and force-push prohibitions visible to callers.
- Remote credentials
- Use the configured SSH agent or credential-helper chain, which keeps secrets out of tool arguments.
CommandsAdvanced
Problems and fixesHelp
Good to knowHelp
- The tool works alongside your repository policy and approval gates.
- Credentials stay in the configured Git environment.
- Repository mutations are serialized.