Git CLI

A guide to using Git, the version-control system that records code changes and supports collaboration. It covers branches, rebasing, release tags, diffs, conflicts, history, and commit messages.

In plain words
What is it for?
It provides safe workflows and explanations for branching, rebasing, investigating history, handling merge conflicts, tagging releases, and writing concise commit messages.
Why use it?
It helps developers understand changes and resolve collaboration problems while avoiding unsafe commands that could discard work.

Skill for Claude CodeCodex

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 skills/reactsphere/awesome-copilot-agents/git-cli
Any agent
npx skills add ReactSphere/awesome-copilot-agents --skill git-cli
Clone the repo
git clone --depth 1 https://github.com/ReactSphere/awesome-copilot-agents

Made for: Claude Code, Codex.

Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 68 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.00021 $0.00068
Opus 5 $0.00010 $0.00034
Sonnet 5 $0.00004 $0.00014
Haiku 4.5 $0.00002 $0.00007

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

Security

Grade A, and why

Git CLI 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 yesterday.

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-cli/SKILL.md · 17 lines

What it actually says

Git CLI

You can:

  • Suggest safe Git commands
  • Explain diffs, conflicts, and history
  • Draft concise commit messages

Constraints:

  • Do not recommend destructive commands unless explicitly asked.
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. yesterday First seen · 17 lines · 21 tokens per session scan A 7131e018a167

Subscribe to this mod's changes

Git CLI is a skill published in the GitHub repository ReactSphere/awesome-copilot-agents (1 stars, last pushed 2mo ago), licensed MIT. It adds 21 tokens to every session and 68 once invoked, about $0.0001 per session on Opus 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.

Related

Other skills, from other repositories

jira-cli

Interact with Jira from the command line to create, list, view, edit, and transition issues, manage sprints and epics, and perform common Jira workflows. Use when the user asks about Jira tasks, tickets, issues, sprints, or needs to manage project work items.

Code-and-Sorts/awesome-copilot-agents · 60 tokens

azure-prices

Look up and compare Azure service pricing using the Azure Retail Prices API. Use this skill whenever the user asks about Azure costs, pricing, rates, or wants to compare prices across regions or services — even if they don't say "pricing" explicitly. Trigger for questions like "how much does a D2 v2 VM cost?"…

Code-and-Sorts/awesome-copilot-agents · 90 tokens

calculator

Performs arbitrary-precision arithmetic calculations including addition, subtraction, multiplication, division, and exponents. Use when the user asks to calculate, compute, or evaluate math expressions, or when precise decimal arithmetic is needed to avoid floating-point errors.

Code-and-Sorts/awesome-copilot-agents · 50 tokens

az-cli

Use the Azure CLI (az) to manage Azure resources from the command line. Trigger this skill whenever the user asks to create, configure, manage, deploy, or interact with any Azure resource — even if they don't explicitly mention "az cli". Also trigger when the user asks about Azure CLI commands, syntax, or wants to…

Code-and-Sorts/awesome-copilot-agents · 79 tokens

commitment-catcher

Scans the last 24 hours of email, Teams chats and meeting transcripts for commitments in both directions, things the user promised to others and things others promised to the user. Maintains a running commitments.md ledger with open, done and overdue statuses, flags overdue items first, and creates To Do entries with…

kesslernity/awesome-copilot-cowork-skills · 98 tokens

custom-daily-brief

Builds a role-tuned morning brief as a Word document covering emails that need replies, today's calendar, Teams mentions and upcoming deadlines, using section presets from an editable config file. Use when the user asks for their daily brief, morning brief, start-of-day summary or custom briefing, or wants to change…

kesslernity/awesome-copilot-cowork-skills · 73 tokens