Level 4 recap
⏱ Est. ~5 min
01 · Read
You've completed the entire git journey — from git init all the way to pushing, branching, and merging. Let's review each major concept to make sure it's locked in before moving on.
💡 Picture thisYou've been building your photo-album skills: taking snapshots (commits), organizing albums (branches), sharing with others (push/pull), combining work (merge). This recap confirms you can do them all from memory.
Key points
- Core flow: init → add → commit → push
- History tools: git log, git diff, git status
- Collaboration: branch, merge, clone, pull
02 · Match
Match each git command to what it does.
(This section is interactive — please enable JavaScript.)
03 · Drag to sort
Which git commands work only locally, and which need a GitHub connection?
(This section is interactive — please enable JavaScript.)
04 · Quiz
To save and upload your changes, what's the correct order?
- add → commit → push
- commit → add → push
- push → add → commit
- add → push → commit
05 · Fill in the blank
To create a new branch called feature and switch to it, type: git checkout ___ feature
06 · Quiz
You accidentally edited a file and want to undo all changes, restoring it to the last commit. What do you use?
- git undo filename
- git checkout -- filename
- git reset filename
- git restore --delete filename
Other lessons in this chapter
⚠ The full interactive experience needs JavaScript. Please enable it and reload.
※ This is an independent Traditional Chinese teaching project — not an official Anthropic product. Claude™ is a trademark of Anthropic, PBC.