Skip to main content

This version of GitHub Enterprise will be discontinued on 2023-01-18. 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

This Git cheat sheet is a time saver when you forget a command or don't want to use help in the CLI.

Learning all available Git commands at once can be a daunting task. You can use "Git Cheat Sheets" for a quick reference to frequently used commands. The "Using Git" cheat sheet is available in several languages.

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