We use cookies to enhance your browsing experience.

Learn More
Back to Cheatsheets

Git Commands

Essential Git commands.

Setup
git init
Initialize
Copied!
git clone <url>
Clone
Copied!
git config --global user.name
Set Name
Copied!
Changes
git status
Check Status
Copied!
git add .
Stage All
Copied!
git commit -m "msg"
Commit
Copied!
git push
Push
Copied!
git pull
Pull
Copied!
Branching
git branch
List Branches
Copied!
git checkout -b <name>
New Branch
Copied!
git merge <branch>
Merge
Copied!
25+Total Tools
Operations
4Languages
100%Privacy

We use cookies to enhance your experience and serve personalized ads.