Git cheat sheet - git commands you should know

Your reference guide for basic Git commands: branch operations, cloning, undoing changes, and more.

By clicking "Free download" you confirm that you understand our data protection policy, and information card content.

Git cheat sheet cover

Git commands cheat sheet with examples

Are you starting your git adventure and everything is new or sometimes confusing? Maybe you just can't remember what some specific command is or does? Download our cheat sheet, print it, or keep it on your Desktop and use it as your reference guide to everything git-related. We have included the basic commands associated with creating new branch, new commit, and cloning operations, undoing changes, and much more. Ready to run git like a PRO?

Free download
ESET
T-Mobile
QNAP
Orange
Logicom
AVIS
Diebold Nixdorf
SUBWAY

Download git cheat sheet PDF

To all +56M GitHub developers, +10M Bitbucket users and +30M GitLab enthusiasts - better check if you use git commands like a PRO!

Free download
Lost git command

Git commands cheat sheet - what’s inside?

number 1

Git push

After saving work with git commit, you need a way to share your progress with team members, and the best way to do it is with a push command.

number 2

Git log

Wondering how to show all commits history starting from the newest commit? The log command is an excellent way to do it extremely fast.

number 3

Git clone

This command allows to clone a git repository, and create a local, fully functional copy of the repo.

number 4

Merge branch

Merge is a fairly simple operation, which allows developers to merge changes from one branch to another.

number 5

Git rebase

Rebase as a git merge specializes in integrating changes. However, unlike his cousin, rebase has powerful history rewriting features.

number 6

Status command

Use it to see what files are included in the next commit, which ones are not, or what has changed since the last commit.

number 7

Git revert

It restores changes from a given commit and makes a new commit informing about this event - just like leaving an important note.

>6k

IT professionals downloaded our reports

How about you?

By clicking "Free download" you confirm that you understand our data protection policy, and information card content.