git

git is a skill for Claude Code, Codex from ashish7802/awesome-api-skills. It costs 0 tokens per session (422 once invoked), scanned A, original, MIT.

A distributed version-control system that records changes to source code and lets developers work on separate branches before combining their work. Its history can be reviewed, cleaned up, and signed.

In plain words
What is it for?
Use it to initialize repositories, commit changes, create and merge branches, reorganize commits before merging, remove leaked secrets from history, and sign commits.
Why use it?
It removes uncertainty about who changed code and makes it possible to undo or inspect earlier versions. It also helps teams reduce merge conflicts and respond when secrets enter the history.

Skill for Claude CodeCodex

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

Good fit Use it to initialize repositories, commit changes, create and merge branches, reorganize commits before merging, remove leaked secrets from history, and sign commits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ashish7802/awesome-api-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 ashish7802/awesome-api-skills --skill git
Clone the repo
git clone --depth 1 https://github.com/ashish7802/awesome-api-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

README.md
[![agentmods](https://agentmods.dev/badge/skills/ashish7802/awesome-api-skills/git/github.svg)](https://agentmods.dev/skills/ashish7802/awesome-api-skills/git)
Your own site
<a href="https://agentmods.dev/skills/ashish7802/awesome-api-skills/git"><img src="https://agentmods.dev/badge/skills/ashish7802/awesome-api-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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ashish7802/awesome-api-skills/git"><img src="https://agentmods.dev/badge/skills/ashish7802/awesome-api-skills/git.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 422 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00000 $0.00422
Opus 5.5 $0.00000 $0.00169
Sonnet 5.5 $0.00000 $0.00084
Haiku 4.5 $0.00000 $0.00042

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

Security

Grade A, and why

git 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 · 59 lines

What it actually says

Git Skill

Distributed version control system.

Ecosystem Graph

graph LR
  git["Git"]
  git -- "works well with" --> github-actions

Quick Start

Git tracks changes in source code during software development.

git init
git commit -m "Initial commit"

Production Patterns

Interactive Rebase

Before merging a feature branch into main, use git rebase -i main to squash messy "WIP" commits into clean, atomic, descriptive commits that clearly outline the feature's history.

Architecture & Scaling

Branching Strategies

Trunk-Based Development (short-lived feature branches merging into main quickly) is preferred over long-lived GitFlow branches to prevent massive, unresolvable merge conflicts.

Error Recovery

If you accidentally commit secrets, using git rm is not enough as the secret remains in history. Use git filter-repo or BFG Repo-Cleaner to permanently scrub the file from all historical commits, and invalidate the secret immediately.

Security Notes

Sign your commits using GPG or SSH keys. Platforms like GitHub verify these signatures, assuring team members that the commit wasn't spoofed.

Relationships

Works Well With: github-actions

References

Why use this skill

Use this when your agent works with git — structured patterns beat pasted docs and prevent common hallucinations.

AI pitfalls

  • Referencing CLI flags or config keys that do not exist
  • Using outdated major versions of tools
  • Skipping lockfile or version pinning in examples

Production checklist

  • Secrets in environment variables, not source code
  • Error handling and logging in place
  • Rate limits and timeouts configured

Last Verified: 2026-07-02

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 59 lines · 0 tokens per session scan A 2e964acf6370

Subscribe to this mod's changes

git is a skill published in the GitHub repository ashish7802/awesome-api-skills (13 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 422 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.

Related

Other skills, from other repositories

po-release-notes

Generates audience-appropriate release notes from completed Sprint work items — translating technical changes into plain-language user outcomes for stakeholders, customers, or internal teams. Use when a Product Owner says things like "write release notes", "what shipped this Sprint", "generate a changelog", "what did…

abrahamFerga/scrum-skills · 103 tokens

dev-pr-description

Generates a pull request description by reading the git diff and the linked user story, mapping each changed file to an acceptance criterion so reviewers know why each change exists. Use when a developer says things like "write my PR description", "generate a PR", "help me describe this pull request", "create the PR…

abrahamFerga/scrum-skills · 107 tokens

orchard-release

Check deployment evidence and recovery conditions.

rohitg00/ai-engineering-from-scratch · 11 tokens

orchestrate

Toolbox for driving HumanLayer from the CLI - log in, pick a host, launch tasks in their own worktrees, launch sessions, list tasks and their PRs, and copy, move, or upload task artifacts.

humanlayer/humanlayer · 49 tokens

fork-fleet

Fork divergence monitor - tracks where the fleet's active forks diverge in CODE (unique commits, new/modified skills) and CONFIG (enable/var/model/schedule vs upstream), gated on real change.

aeonfun/aeon · 45 tokens

ai-visibility-writing

Audit, question, suggest, or fact-preservingly revise a press release, blog post, contributed article, or expert explainer so AI answer systems can more easily retrieve, understand, quote, and cite its useful information. Use when someone asks for AI visibility, AI search, answer-engine, AEO, GEO, AI Overview, or…

elvisun/newsjack · 137 tokens