Module 5: Git & GitHub
Hands-on

Module 5 Exercises — 3+ commits, repo live on GitHub


Version control is your undo button for everything. The skill checks drill the commands you'll use daily; the real-work challenge gets your actual project safely onto GitHub.

Quick skill checks

One right answer each — paste Claude's output and grade yourself instantly.

CommittingAuto-graded

Save a snapshot

What command saves your staged changes as a snapshot with the message "first commit"? Type the full command.

Checking stateAuto-graded

What changed?

Which command shows you which files have changed since your last commit (and what's staged)?

GitHubAuto-graded

Send it to the cloud

Your commits are saved locally. Which command uploads them to your GitHub repository?

Take it to your real work

No single right answer — this is where the value is. Use your own material.

End-to-end GitSelf-check

Put your real project on GitHub

Take the app you built and get it onto GitHub: initialize Git, add a sensible .gitignore (no secrets!), make your first commit, create the repo, and push. Let Claude Code run the commands — but read each one so you know what happened.

Win: Your project is on GitHub, your `.env` files are NOT, and you can explain what each command did.

Delegating GitSelf-check

Let Claude handle a commit well

Make a small change, then ask Claude: "Commit my changes with a clear, descriptive message." Review the message it writes before approving. Then push.

Win: You shipped a change with a commit message you'd be happy to see in six months.