This version of GitHub Enterprise will be discontinued on 2021-02-11. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.

Git cheatsheet

Learning all available Git commands at once can be a daunting task. Keep one of our Git Cheat Sheets nearby for reference. The Using Git Cheat Sheet is available in several languages. For more information, see the resources page on the GitHub Services website.

In addition, take a look at our Git and GitHub learning resources page that links to guides, videos and more.

Did this doc help you?

Privacy policy

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Or, learn how to contribute.