Cheat sheet guide
Git shortcuts worth learning first
This page collects 32 searchable Git keyboard shortcuts across 5 categories. Start with the shortcuts for Setup & Init, Staging & Committing, Branches, Remote, then print the cheat sheet once the important ones are worth keeping nearby.
- git initgitinit
- git statusgitstatus
- git branch (list)gitbranch
- git remote -v (list remotes)gitremote-v
- git loggitlog
- git clone <url>gitclone<url>
Setup & Init
4 shortcutsStaging & Committing
8 shortcutsBranches
7 shortcutsRemote
6 shortcutsLog & History
7 shortcutsFrequently asked questions
What is the fastest way to find Git shortcuts on this page?
Use the search box or press /, then type an action such as git init.
Can I print this Git shortcut cheat sheet?
Yes. Use the Print / PDF button or your browser print command to save a compact cheat sheet.
Which operating systems are included for Git?
This reference includes shortcuts for Windows · macOS · Linux. Availability depends on the action and app version.