# Git

> Git version control operations: commits, branches, merges, rebases, history.

- Skill: `producible/git` (Agent Skill)
- Install (CLI): `npx skillmds@latest add producible/git`
- Raw SKILL.md: https://api.skillmd.com/api/skills/producible/git/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: Producible (https://skillmd.com/u/producible)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/producible/git

---


# Git Skill

Use `git` for version control operations.

## Common Commands

### Status & History
```bash
git status
git log --oneline -20
git diff
git diff --staged
```

### Branching
```bash
git branch -a
git checkout -b feature/new-branch
git switch main
git merge feature/new-branch
```

### Committing
```bash
git add <files>
git commit -m "description of changes"
git push origin <branch>
```

### Stashing
```bash
git stash
git stash pop
git stash list
```

