Full workflow challenge
Put it all together
⏱ Est. ~3 min
01 · Read
You've learned each piece of the git workflow individually. Now let's put them all together: initialize a repo, make commits, create branches, merge, then push to the remote — the complete engineer workflow.
💡 Picture thisIt's like running your full morning routine for the first time without any reminders. You know each step — make coffee, pack lunch, catch the bus. Now you string them together in order, from start to finish, from memory.
Key points
- Full flow: init → add → commit → branch → merge → push
- Real engineers run this cycle many times a day
- Confidence comes from repetition — this challenge builds muscle memory
02 · Terminal exercise
Build a portfolio website with the full git workflow. Initialize the repo, make commits, create branches, merge, then push to GitHub. Target flow: 1. git init 2. Add content to index.html, stage, commit 3. Create a styles branch 4. Add styles to style.css, stage, commit 5. Switch back to main and merge 6. Add the remote, then push
(This section is interactive — please enable JavaScript.)
03 · Quiz
When adding a new feature, what's the correct order for the full git workflow?
- git push → git commit → git add → git init
- git clone → git merge → git commit → git push
- git init → git commit → git add → git push
- git init → git add → git commit → git branch → git merge → git push
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.