// Run commands & scripts
gitv2.56.0
Git Source Code Mirror - This is a publish-only repository but pull requests can be turned into patches to the mailing list via GitGitGadget (https://gitgitgadget.github.io/). Please follow Documentation/SubmittingPatches procedure for any of your improvements.
Open source Maintained For agents
IN ONE PARAGRAPH
git is git Source Code Mirror - This is a publish-only repository but pull requests can be turned into patches to the mailing list via GitGitGadget (https://gitgitgadget.github.io/). Please follow Documentation/SubmittingPatches procedure for any of your improvements.
Good for: Developers who want their agent (Claude Code, Codex, Cursor…) to run commands & scripts.
01How to start
- 1Read the official README for requirements and permissions.
- 2Install it from the official package registry:
brew install git - 3Tell your agent the command exists (e.g. in AGENTS.md / CLAUDE.md) so it knows when to call it.
02Alternatives & comparison
Compare side by side →03Related
- ?Stop agents from deleting files or running dangerous commands
- ?Undo agent changes: git checkpoints, worktrees and reflog
- ›Hugging Face AI Agents Course · Hugging FaceMultilingual (incl. EN/ZH)
- ›huggingface/agents-course · Hugging FaceEnglish
- ›AI Agents for Beginners · MicrosoftMultilingual (incl. EN/ZH)
- ›Building effective agents · AnthropicEnglish
- ›OpenAI: A practical guide to building agents · OpenAIEnglish
- All tutorials →
Versions, why it is listed, for AI to read
Recent releases
For AI agents
- Interfaces:CLI
- Machine-readable record:/api/v1/software/git.json · llms.txt
- Added 2026-10-10 · updated 2026-10-02