GitHub keyboard shortcuts
Repository navigation, code browsing, review, and Markdown shortcuts.
44 shortcuts Mac and Windows checked September 12, 2026
Print all 44 shortcuts One sheet with every shortcut in this app, ready for the printer or a PDF.
44 actions and 44 key variants match.
- GitHub Documented
| Action | Keys | Row actions |
|---|---|---|
| Focus the search bar Any GitHub page | Windows S | Source |
| Go to your notifications Any GitHub page | Windows GN | Source |
| Go to the Code tab Repository | Windows GC | Source |
| Go to the Issues tab Repository | Windows GI | Source |
| Go to the Pull requests tab Repository | Windows GP | Source |
| Go to the Actions tab Repository | Windows GA | Source |
| Go to the Wiki tab Repository | Windows GW | Source |
| Go to the Discussions tab Repository | Windows GG | Source |
| Go to the Security tab Repository | Windows GS | Source |
| Open the web editor Repository or pull request | Windows . | Source |
| Open the file finder Repository code view | Windows T | Source |
| Jump to a line in the file Repository code view | Windows L | Source |
| Switch to a branch or tag Repository code view | Windows W | Source |
| Expand the address to its canonical form Repository code view | Windows Y | Source |
| Show or hide comments on a diff Diff view | Windows I | Source |
| Open the blame view Repository code view | Windows B | Source |
| Bold the selected text Comment or Markdown field | Windows CtrlB | Source |
| Italicise the selected text Comment or Markdown field | Windows CtrlI | Source |
| Insert inline code formatting Comment or Markdown field | Windows CtrlE | Source |
| Insert a link Comment or Markdown field | Windows CtrlK | Source |
| Insert a numbered list Comment or Markdown field | Windows CtrlShift7 | Source |
| Insert a bulleted list Comment or Markdown field | Windows CtrlShift8 | Source |
| Insert a quote Comment or Markdown field | Windows CtrlShift. | Source |
| Paste a link as plain text Comment field | Windows CtrlShiftV | Source |
| Switch between Write and Preview Comment field | Windows CtrlShiftP | Source |
| Submit the comment Comment field | Windows CtrlEnter | Source |
| Create an issue Issue or pull request list | Windows C | Source |
| Focus the issue search bar Issue or pull request list | Windows Ctrl/ | Source |
| Request a reviewer Issue or pull request | Windows Q | Source |
| Set a milestone Issue or pull request | Windows M | Source |
About GitHub and its shortcuts
GitHub's website has a keyboard layer that most of its users never switch on in their heads: single letters and short sequences jump between pull requests, issues, code search and the file finder. For code review in particular, moving between files and comments without the mouse changes how fast a review goes.
These are commands of the website, not of Git itself, and GitHub lets you disable them in your account settings. The set also changes as the site changes, and some commands only apply on specific pages.
Where the GitHub keys came from
Read from 1 documentation page published by the makers of GitHub. Report a key that is wrong
To see how one action is done in other apps as well as GitHub, browse the shortcuts by task. Shortcuts by task