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.
- GitHub Documented
| Action | Keys | Row actions |
|---|---|---|
| Focus the search bar Any GitHub page | Mac S 1 more variant | Source |
| Go to your notifications Any GitHub page | Mac GN 1 more variant | Source |
| Go to the Code tab Repository | Mac GC 1 more variant | Source |
| Go to the Issues tab Repository | Mac GI 1 more variant | Source |
| Go to the Pull requests tab Repository | Mac GP 1 more variant | Source |
| Go to the Actions tab Repository | Mac GA 1 more variant | Source |
| Go to the Wiki tab Repository | Mac GW 1 more variant | Source |
| Go to the Discussions tab Repository | Mac GG 1 more variant | Source |
| Go to the Security tab Repository | Mac GS 1 more variant | Source |
| Open the web editor Repository or pull request | Mac . 1 more variant | Source |
| Open the file finder Repository code view | Mac T 1 more variant | Source |
| Jump to a line in the file Repository code view | Mac L 1 more variant | Source |
| Switch to a branch or tag Repository code view | Mac W 1 more variant | Source |
| Expand the address to its canonical form Repository code view | Mac Y 1 more variant | Source |
| Show or hide comments on a diff Diff view | Mac I 1 more variant | Source |
| Open the blame view Repository code view | Mac B 1 more variant | Source |
| Bold the selected text Comment or Markdown field | Mac CmdB 1 more variant | Source |
| Italicise the selected text Comment or Markdown field | Mac CmdI 1 more variant | Source |
| Insert inline code formatting Comment or Markdown field | Mac CmdE 1 more variant | Source |
| Insert a link Comment or Markdown field | Mac CmdK 1 more variant | Source |
| Insert a numbered list Comment or Markdown field | Mac CmdShift7 1 more variant | Source |
| Insert a bulleted list Comment or Markdown field | Mac CmdShift8 1 more variant | Source |
| Insert a quote Comment or Markdown field | Mac CmdShift. 1 more variant | Source |
| Paste a link as plain text Comment field | Mac CmdShiftV 1 more variant | Source |
| Switch between Write and Preview Comment field | Mac CmdShiftP 1 more variant | Source |
| Submit the comment Comment field | Mac CmdEnter 1 more variant | Source |
| Create an issue Issue or pull request list | Mac C 1 more variant | Source |
| Focus the issue search bar Issue or pull request list | Mac Cmd/ 1 more variant | Source |
| Request a reviewer Issue or pull request | Mac Q 1 more variant | Source |
| Set a milestone Issue or pull request | Mac M 1 more variant | 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