GitHub Desktop

GitHub Desktop Shortcuts

GitHub Desktop keyboard shortcuts for commits, branches, repositories and pull requests.

Source: Official documentation · Updated 2025-05

Shortcuts
4
Categories

Cheat sheet guide

GitHub Desktop shortcuts worth learning first

This page collects 24 searchable GitHub Desktop keyboard shortcuts across 4 categories. Start with the shortcuts for Repositories, Changes & Commits, Branches, Navigation, then print the cheat sheet once the important ones are worth keeping nearby.

  • Switch OS tabs for Windows, macOS, or Linux shortcuts.
  • Use / to jump to search instantly.
  • Use Compare mode when moving between machines.
  • Print or save the page as a compact PDF cheat sheet.
Repositories 7 shortcuts
Add local repository
Ctrl+O
Clone repository
Ctrl+Shift+O
Create new repository
Ctrl+N
Switch repository
Ctrl+Shift+R
Open in external editor
Ctrl+Shift+A
Open in terminal
Ctrl+`
Show in Finder / Explorer
Ctrl+Shift+F
Changes & Commits 4 shortcuts
Commit to branch
Ctrl+Enter
Undo commit
Ctrl+Z
Stash changes
Ctrl+Shift+S
Discard changes (selected)
Ctrl+Delete
Branches 6 shortcuts
New branch
Ctrl+Shift+N
Rename branch
F2
Delete branch
Ctrl+Shift+D
Update from remote
Ctrl+Shift+G
Push to remote
Ctrl+P
Fetch origin
Ctrl+Shift+T
Navigation 7 shortcuts
Go to Changes tab
Ctrl+1
Go to History tab
Ctrl+2
Open preferences
Ctrl+,
Toggle sidebar
Ctrl+Shift+L
Zoom in
Ctrl+=
Zoom out
Ctrl+-
Reset zoom
Ctrl+0

Frequently asked questions

What is the fastest way to find GitHub Desktop shortcuts on this page?

Use the search box or press /, then type an action such as add local repository.

Can I print this GitHub Desktop shortcut cheat sheet?

Yes. Use the Print / PDF button or your browser print command to save a compact cheat sheet.

Does this page include Windows and Mac shortcuts for GitHub Desktop?

Yes. Use the OS tabs to switch between Windows and macOS shortcuts. For example, Add local repository is Ctrl+O on Windows and ⌘O on macOS where available.

Advertisement
No shortcuts match your search.