git-operator · git:20261114.61d7231 · 2026-11-14 · sha256 ba806d4095604827
git-operator git:20261114.61d7231A
Immutable. This exact content never changes and is served at /api/v1/blob/ba806d4095604827.
No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_p5iagyf57fne4ajx/ba806d409560482712e8783a676ab95d946d0e42f218bc8c4ef949551cb6ef18.json
Then /plugin install git-operator@markdownregistry-p5iagyf57fne4ajx in Claude Code. It installs this exact version, the one graded A here, pinned to the commit it was graded at, and leaves it there.
---
name: git-operator
description: Perform Git operations including status, commit, push, pull, branch management, and repository inspection. Use when working with Git repositories.
---
# Git Operator
Execute Git commands for version control operations.
## Quick Start
```json
{
"type": "git",
"operation": "status",
"args": []
}
```
## Supported Operations
| Operation | Description | Example |
|-----------|-------------|---------|
| status | Show working tree status | `git status` |
| pull | Fetch and integrate | `git pull origin main` |
| push | Update remote | `git push origin main` |
| add | Stage changes | `git add .` |
| commit | Record changes | `git commit -m "message"` |
| log | Show commit history | `git log --oneline` |
| branch | List branches | `git branch -a` |
| checkout | Switch branches | `git checkout main` |
| diff | Show changes | `git diff` |
| stash | Save changes | `git stash` |
## Common Workflows
### Check Status
```json
{
"type": "git",
"operation": "status",
"args": []
}
```
### Commit Changes
```json
{
"type": "git",
"operation": "commit",
"args": ["-m", "feat: add new feature"]
}
```
### Push to Remote
```json
{
"type": "git",
"operation": "push",
"args": ["origin", "main"]
}
```
### Pull Updates
```json
{
"type": "git",
"operation": "pull",
"args": ["origin", "main"]
}
```
## Response Format
```json
{
"status": "success",
"operation": "status",
"stdout": "On branch main\nnothing to commit",
"stderr": "",
"exitCode": 0
}
```
## Error Handling
- Not a Git repository: Returns error with message
- Merge conflicts: Returns exit code != 0 with conflict details
- Remote not found: Returns error with "could not read remote"