Git
Git version control with branching, merging, and rebasing. Use for source control.From its SKILL.md
npx -y skills add G1Joshi/Agent-Skills --skill gitAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 12 stars12 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.1 KB, 246 tokens by cl100k_base, as published. Nobody here has run it
Git
Git is the foundation of modern software. In 2025, features like Sparse Checkout and Scalar (for monorepos) are becoming mainstream.
When to Use
- Always: Use it for everything. Text files, config, code.
- Bisect: Finding bugs by binary search.
Core Concepts
Graph
Commits form a DAG (Directed Acyclic Graph).
Rebase vs Merge
- Merge: Preserves history, creates bubbles.
- Rebase: Rewrites history, linearizes.
Worktrees
Checkout multiple branches of the same repo in different folders simultaneously.
Best Practices (2025)
Do:
- Use
git switch/git restore: The modern alternatives to the overloadedgit checkout. - Use
git maintenance: Speed up fetch/clone in the background. - Sign Commits: Use SSH keys to sign commits (
Commit Signing).
Don't:
- Don't force push to shared branches:
git push --force-with-leaseis the safer alternative.
References
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.