🗒 Cheat Sheet← Lesson
BitWithBite
Git & GitHub Worksheet

🔘 Git Basics: First Repository

Chapter: Git & GitHub · Level ★☆☆ · Time: 30 min
SCORE___ / 20
NameClassDate
After this worksheet you can
git init, status, add, commitThe staging areaRead git logThe three states

🧠 Section A · Concept Check ● BEGINNER 4 × 1 = 4

1Start tracking a folder:
2Stage a file with:
3Save staged changes with:
4See history with:

🧮 Section B · Problem Solving ● INTERMEDIATE 2 + 3×3 = 11

5git shows changed/untracked files.
6git add stages everything.
7Full flow: new repo to first commit.
8Why stage before committing?
9What does git log --oneline show?

🚀 Section C · Challenge ● CHALLENGE 5

10A file shows as untracked - meaning?
💭 Reflection — the most useful thing I learned:
A ___/4   B ___/11   C ___/5   Total ___/20 Teacher's Signature Parent's Signature
✂ answer key — fold or cut before handing out

1-A   2-A   3-A   4-A  |  5 status   6 .   7 = git init; git add .; git commit -m 'first commit'   8 = Pick exactly which changes go into the snapshot   9 = Compact one-line history  |  10 = Git sees it but has never added/committed it

📄 Need offline practice?Download the print-ready PDF or open the one-page cheat sheet.
⬇ Worksheet PDF 🗒 Cheat Sheet