LESSON 12
Git Review Challenge
Learning objective: Practice the full Git workflow end to end.
Understand
This challenge ties the Git workflow together.
You now know repos, commits, branches, merging, remotes, and pull requests. This review asks you to run the whole cycle: initialize, commit, branch, merge, and push to GitHub.
Analogy: This is a full lap around the Git track, from first commit to published code.
See It in Action
The end-to-end flow in commands:
git init
git add . && git commit -m "Start"
git branch feature && git switch feature
git switch main && git merge feature
git push -u origin mainHow it works: Each line is a stage of the workflow you learned, from starting a repo to pushing merged work online.
Try It Yourself
- Initialize a repo and make a first commit.
- Create a branch, commit, and merge it.
- Push the result to GitHub.
Quick Quiz
What is the right order near the end of the flow?
Challenge
Run the full Git workflow on a small project from init to push.
Success condition: Your project is committed, merged, and pushed to GitHub.
+10 XP
Lesson Complete
You answered correctly and completed the required practice. Your progress has been saved on this device.
Continue to next lesson →