git-docs

git-docs is a skill for Claude Code, Codex from pledgeandgrow/pledge-skills. It costs 32 tokens per session (1,843 once invoked), scanned A, original, MIT.

A reference guide for Git 2.49, a version-control system that records code changes and supports collaboration. It covers repositories, branches, merges, remotes, history, debugging, patches, and administration.

In plain words
What is it for?
Use it to create repositories, manage branches, merge or rebase work, inspect history, synchronize with remotes, find bugs, apply patches, or manage submodules.
Why use it?
It helps the coding agent choose the right Git commands and understand their effects. This reduces mistakes when sharing work, resolving conflicts, or recovering changes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create repositories, manage branches, merge or rebase work, inspect history, synchronize with remotes, find bugs, apply patches, or manage submodules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pledgeandgrow/pledge-skills/git
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.

Any agent
npx skills add pledgeandgrow/pledge-skills --skill git
Clone the repo
git clone --depth 1 https://github.com/pledgeandgrow/pledge-skills

Made for: Claude Code, Codex.

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-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/git/github.svg)](https://agentmods.dev/skills/pledgeandgrow/pledge-skills/git)
Your own site
<a href="https://agentmods.dev/skills/pledgeandgrow/pledge-skills/git"><img src="https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/git/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for git-docs

Your own site · 80×15
<a href="https://agentmods.dev/skills/pledgeandgrow/pledge-skills/git"><img src="https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/git.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,843 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00032 $0.01843
Opus 5.5 $0.00013 $0.00737
Sonnet 5.5 $0.00006 $0.00369
Haiku 4.5 $0.00003 $0.00184

Measured 1mo ago against content hash d1820e25f63a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

git-docs 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 1mo ago.

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.

skills/git/SKILL.md · 106 lines

How it starts

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

Git

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

Version: Git 2.49
Documentation: git-scm.com/docs
Book: Pro Git

Quick Reference

Topic File
Introduction (what is Git, VCS types, installing, first-time setup) introduction.md
Repositories (init, clone, recording changes, history, undoing, remotes, tagging, aliases) repositories.md
Branching and Merging (branch, switch, merge, conflicts, stash, tag, worktree, rebase, workflows) branching-and-merging.md
Sharing and Updating (fetch, pull, push, remote, submodule, refspecs) sharing-and-updating.md
Inspection and Comparison (show, log, diff, difftool, range-diff, shortlog, describe, revision selection) inspection-and-comparison.md
Patching (apply, cherry-pick, rebase, revert, format-patch, patch workflows) patching.md
Debugging (bisect, blame, grep, finding bugs) debugging.md
Administration (clean, gc, fsck, reflog, filter-branch, instaweb, archive, bundle, maintenance) administration.md
Server Admin (protocols, SSH setup, git daemon, Smart HTTP, GitWeb, hosting, security) server-admin.md
Email (format-patch, am, send-email, imap-send, request-pull, patch workflows) email.md
External Systems (svn, fast-import, p4, migrating to Git) external-systems.md
Configuration (git config, levels, settings, aliases, credentials, signing, includeIf, performance) configuration.md
Git Tools (revision selection, interactive staging, stashing, cleaning, signing, searching, rewriting history, reset, advanced merging, rerere, submodules, bundling, replace, credentials) git-tools.md
Git Internals (plumbing, objects, refs, packfiles, refspec, transfer protocols, plumbing commands, environment variables) git-internals.md
Guides (gitignore, gitattributes, hooks, gitmodules, workflows) guides.md
Distributed Git (workflows, contributing, maintaining, commit guidelines) distributed-git.md
GitHub (account setup, SSH, contributing, maintaining, organizations, GitHub CLI, Actions, API) github.md
Embedding Git (libgit2, JGit, go-git, pygit2, rugged, nodegit, LibGit2Sharp, scripting) embedding-git.md
Sparse Checkout, Scalar, Partial Clone (sparse-checkout, backfill, maintenance, pack-refs, prune, diagnose, fast-export) sparse-checkout.md
File Formats and Protocols (repository layout, index, pack, bundle, commit-graph, chunk, signature, wire protocols v0/v1/v2, namespaces, remote-helpers, mailmap, diffcore) file-formats-and-protocols.md
Additional Commands (annotate, merge-tree, show-branch, whatchanged, cherry, ls-remote, name-rev, commit-graph, pack-objects, interpret-trailers, stripspace, credential, GUI tools, CVS commands) additional-commands.md
Tutorials and Migration (gittutorial, gittutorial-2, gitcore-tutorial, CVS migration, CVS-to-Git command mapping, diffcore) tutorials-and-migration.md

Read the full file on GitHub · 106 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. 1mo ago First seen · 106 lines · 32 tokens per session scan A d1820e25f63a

Subscribe to this mod's changes

git-docs is a skill published in the GitHub repository pledgeandgrow/pledge-skills (10 stars, last pushed 3mo ago), licensed MIT. It adds 32 tokens to every session and 1,843 once invoked, about $0.0001 per session on Opus 5.5. 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-31.