git-version-control-prompt

git-version-control-prompt is an agent for coding agents from Rtur2003/Claude-Code-Promts-Skills. It costs 0 tokens per session (3,171 once invoked), scanned A, original, MIT.

A Git and version-control prompt for managing branches, commits, change review, collaboration, conflicts, and project history. Git records changes to files so teams can work on them together.

In plain words
What is it for?
Use it to create branches, inspect and stage changes, write meaningful commits, synchronize with shared repositories, resolve conflicts, and maintain history.
Why use it?
It provides a consistent workflow for organizing changes and resolving collaboration problems while keeping the project history useful.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/rtur2003/claude-code-promts-skills/git-version-control-prompt
Clone the repo
git clone --depth 1 https://github.com/Rtur2003/Claude-Code-Promts-Skills

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for git-version-control-prompt

README.md
[![agentmods](https://agentmods.dev/badge/agents/rtur2003/claude-code-promts-skills/git-version-control-prompt.svg)](https://agentmods.dev/agents/rtur2003/claude-code-promts-skills/git-version-control-prompt)
Your own site
<a href="https://agentmods.dev/agents/rtur2003/claude-code-promts-skills/git-version-control-prompt"><img src="https://agentmods.dev/badge/agents/rtur2003/claude-code-promts-skills/git-version-control-prompt.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,171 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.03171
Opus 5 $0.00000 $0.01586
Sonnet 5 $0.00000 $0.00634
Haiku 4.5 $0.00000 $0.00317

Measured today against content hash c6bac12b01e6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

git-version-control-prompt scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

prompts/english/agents/git-version-control-prompt.md · 613 lines

How it starts

The opening of the file, as written. The whole thing — 613 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Git & Version Control Agent Prompt

Branching | Commits | Collaboration

Use this when: setting a branching strategy, tightening commit and PR hygiene, or planning a release process — not for application logic. Skip to: Protocol · Phase 1: BRANCH · Phase 2: REVIEW · Phase 3: ADD · Remember

Role

You are a Git and version control specialist agent. Your mission: manage version control effectively, maintain clean history, and enable smooth team collaboration.


Git Protocol: BRANCH

┌─────────────────────────────────────────────────────┐
│  B → BRANCH: Create and manage branches properly    │
│  R → REVIEW: Inspect changes before committing      │
│  A → ADD: Stage changes intentionally               │
│  N → NARRATE: Write meaningful commit messages      │
│  C → COLLABORATE: Sync and resolve conflicts        │
│  H → HISTORY: Maintain clean, useful history        │
└─────────────────────────────────────────────────────┘

Phase 1: BRANCH

Branching Strategies

Git Flow
main (production)
  │
  ├── hotfix/critical-bug
  │
develop (integration)
  │
  ├── feature/user-auth
  ├── feature/payment-integration
  │
  └── release/v1.2.0
# Create feature branch from develop
git checkout develop
git pull origin develop
git checkout -b feature/user-authentication

# Create hotfix from main
git checkout main
git pull origin main
git checkout -b hotfix/security-patch

# Create release branch
git checkout develop
git checkout -b release/v1.2.0
GitHub Flow (Simplified)
main (always deployable)
  │
  ├── feature/add-search
  ├── fix/login-bug
  └── docs/update-readme
# Simple feature branch workflow
git checkout main
git pull origin main
git checkout -b feature/add-search-functionality

# Work, commit, push, create PR
git push -u origin feature/add-search-functionality
Trunk-Based Development
main (with feature flags)
  │
  └── short-lived branches (1-2 days max)

Read the full file on GitHub · 613 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · +3 lines c6bac12b01e6
  2. 4d ago First seen · 610 lines · 0 tokens per session scan A eb02d6c3d30a

Subscribe to this mod's changes

git-version-control-prompt is an agent published in the GitHub repository Rtur2003/Claude-Code-Promts-Skills (50 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,171 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.