🗒 Cheat Sheet← Lesson
BitWithBite
Full-Stack Worksheet

💭 Git & GitHub

Chapter: Deployment & Final Projects · Level ★☆☆ · Time: 15 min
SCORE___ / 20
NameClassDate
After this worksheet you can
Initialize and commit a repoPush to GitHubCreate feature branchesExplain the PR workflow
📚 Quick Recap

🎯 What you'll practice: The core Git workflow — init, add, commit, push, branch.

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

1The command that starts tracking a folder is:
2Staging changes for the next commit uses:
3Uploading local commits to GitHub uses:
4A new feature branch is created with:

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

5A saved snapshot of staged changes is called a .
6On GitHub, proposed changes are reviewed via a Request.
7Write the four commands to make the very first commit and push it to a new GitHub repo.
8Why work on a feature branch instead of committing directly to main?
9What does git remote add origin <url> do?

🚀 Section C · Challenge ● CHALLENGE 5

10Explain how a git push to main automatically triggers a redeploy on Vercel and Railway, and why that matters for a team shipping frequently.
💭 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-B   2-B   3-B   4-B  |  5 = commit   6 = Pull   7 = git init; git add .; git commit -m "Initial commit"; git push -u origin main (after remote add + branch -M main)   8 = A feature branch isolates in-progress work so main always stays in a stable, deployable state, and changes can be reviewed via a Pull Request before merging   9 = It links the local repository to a remote GitHub repository named "origin", so future push/pull commands know where to send/receive commits  |  10 = Both platforms watch the connected GitHub repo's main branch; when a push updates it, they automatically pull the new commit, rebuild, and redeploy — meaning a team can ship a fix or feature the moment it merges, without any manual upload step, keeping deploys frequent and low-friction.

📄 Need offline practice?Print this worksheet or open the one-page cheat sheet.
🗒 Cheat Sheet