git
Installation
SKILL.md
Git
Git is the foundation of modern distributed version control, featuring robust branching models, interactive history rewriting, Sparse Checkout, and Scalar support for monorepos.
When to Use
- Branching & Collaboration: Managing feature isolation, pull requests, trunk-based development, and code reviews across distributed teams.
- History Rewriting & Cleanup: Linearizing commit graphs, squashing WIP commits, and editing messages via
git rebase -ibefore merging into mainline branches. - Automated Bug Hunting: Isolating regression-introducing commits across thousands of revisions via binary search using
git bisect. - Concurrent Workspace Contexts: Working on urgent hotfixes without stashing or branching context switching using
git worktree. - Large Repository Scaling: Optimizing performance in massive monorepos using Git Sparse Checkout, Scalar, and shallow clones.
Quick Start
# Clone repository and create a new feature branch
git clone https://github.com/myorg/project.git
cd project