Install
$ agentstack add skill-ashish7802-awesome-api-skills-git ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
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](/skills/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
Related skills
- [
github-actions](../github-actions/SKILL.md) — works well with
> Last Verified: 2026-07-02
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: ashish7802
- Source: ashish7802/awesome-api-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.