Git Commands Overview
As experts on Git and version control, we get asked a lot about these topics. In this section, we've compiled an overview of the most important Git commands and their most common use cases.
If you're looking for an in-depth course / tutorial on Git, please also see our free ebook and video course.
- git clone - Downloading an existing repository from a remote server
- git commit - Saving changes to the local repository
- git pull - Downloading and integrating remote changes
- git push - Publishing new local changes on a remote server
- git merge - Integrating changes from another branch
- git checkout - Switching branches and restoring files
- git branch - Creating, deleting and showing branches
- git revert - Undoing an existing commit by creating opposite changes
- git add - Adding changes to the staging area
- git remote - Showing, adding and removing connections to remote repositories
- git switch - Switching branches
- git status - Displaying uncommitted changes and the state of your Working Copy
- git rm - Removing files in Git
- git restore - Discarding or unstaging uncommitted local changes
- git init - Creating a new Git repository
In case you miss an important topic on this list, please let us know via support@git-tower.com
Get our popular Git Cheat Sheet for free!
You'll find the most important commands on the front and helpful best practice tips on the back. Over 100,000 developers have downloaded it to make Git a little bit easier.
About Us
As the makers of Tower, the best Git client for Mac and Windows, we help over 100,000 users in companies like Apple, Google, Amazon, Twitter, and Ebay get the most out of Git.
Just like with Tower, our mission with this platform is to help people become better professionals.
That's why we provide our guides, videos, and cheat sheets (about version control with Git and lots of other topics) for free.