📦

Part of series

Code, Git & GitHub

All Journeys
🎯

Git Essentials

7 steps•25-35 min
Your Progress0% complete

Steps

📚 LearnStep 1 of 7

The Essential Commands

Five commands that cover 90% of Git usage

You don't need to memorize 50 Git commands. These five cover almost everything:

**1. git clone [url]** Copy a repo from GitHub to your computer → "I want to work on this project"

**2. git add .** Stage all your changes for commit → "These are the changes I want to save"

**3. git commit -m "message"** Save your staged changes with a description → "Save this snapshot with this note"

**4. git push** Send your commits to GitHub → "Upload my changes to the cloud"

**5. git pull** Get the latest changes from GitHub → "Download any updates I don't have"

That's it for daily work!

**Pro tip:** Claude Code can run these commands for you. Just say "commit my changes and push to GitHub."