code
ref
Cheat Sheets
Quick Reference
JSON Formatter
Learn
Tools
Browser Support
Search…
Ctrl K
Cheat Sheets
/
Tools
/
Git
Git
Everyday Git commands for setup, staging, branching and remotes.
Official reference ↗
Setup
init
clone
config
Snapshot
add
status
diff
commit
restore
reset
rm
mv
stash
Branch & Merge
branch
switch
checkout
merge
rebase
cherry-pick
tag
worktree
Inspect
log
show
blame
shortlog
describe
reflog
bisect
Remote
remote
fetch
pull
push
submodule
Maintenance
clean
gc
fsck
revert
archive