sreenivas./courses
Git & GitHub for Beginners — all lessons
✕✓

MODULE 01 · 5 MIN READ

Recap + practice

Your six commands

  • git init — start the time machine
  • git status — where is everything? (when lost → status)
  • git add — stage the shot
  • git commit -m "why" — take the snapshot
  • git log — read the diary
  • git checkout <id> / git switch - — time travel

Homework — 5 minutes

  1. Make one more repo from scratch — a recipe collection, a journal, anything.
  2. Do three commits with honest messages.
  3. Read your own git log and feel smug.
practice terminal — you cannot break it

a tiny simulated laptop. six commands, zero consequences.

$ 

// your homework works right here too

Questions people always ask

“I committed something wrong!”

You never rewrite the past on Day 1 — just fix the file and commit again. History is append-only for now; undo commands exist and get their own lesson later.

“Where is all this stored?”

100% on your laptop, inside .git. No cloud, no account, no internet — until Day 3.

“Why the terminal instead of VS Code buttons?”

The buttons run these exact commands underneath. Learn the commands once → every GUI in every tool makes sense forever.

Tomorrow

Day 2: parallel universes 🌿 — branching, merging, and surviving your first merge conflict. See you there.