GitHub Desktop

GitHub Desktop Shortcuts

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

Source: Official documentation · Updated 2026-06

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.

  • Add local repositoryCtrlO
  • Commit to branchCtrlEnter
  • New branchCtrlShiftN
  • Go to Changes tabCtrl1
  • Clone repositoryCtrlShiftO
  • Create new repositoryCtrlN

Repositories

7 shortcuts
Add local repository
CtrlO
Clone repository
CtrlShiftO
Create new repository
CtrlN
Switch repository
CtrlShiftR
Open in external editor
CtrlShiftA
Open in terminal
Ctrl`
Show in Finder / Explorer
CtrlShiftF

Changes & Commits

4 shortcuts
Commit to branch
CtrlEnter
Undo commit
CtrlZ
Stash changes
CtrlShiftS
Discard changes (selected)
CtrlDelete

Branches

6 shortcuts
New branch
CtrlShiftN
Rename branch
F2
Delete branch
CtrlShiftD
Update from remote
CtrlShiftG
Push to remote
CtrlP
Fetch origin
CtrlShiftT

Navigation

7 shortcuts
Go to Changes tab
Ctrl1
Go to History tab
Ctrl2
Open preferences
Ctrl,
Toggle sidebar
CtrlShiftL
Zoom in
Ctrl=
Zoom out
Ctrl-
Reset zoom
Ctrl0

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.

See also

No shortcuts match your search.