Git Branching Quick Reference

Common branching commands (create, switch, merge, rebase).

View
StandardDetailedCompact
Export
Copy the compact sheet, download it, or print it.
Download
`D` dense toggle · `C` copy all
## Create & switch
Create & switch (modern)
git switch -c feature/my-work
Create & switch (legacy)
git checkout -b feature/my-work  # older

# Older equivalent

## Sync with dev
Sync feature with dev (merge)
git fetch origin
git switch feature/my-work
git merge origin/dev