Module 3: Git Fundamentals: Mistake Clinic
This clinic turns wrong moves into reusable judgment. Use it after each practice page and again before the quiz or checkpoint.
Module-Specific Mistake Radar
Start with these traps. Replace or extend them with real mistakes from your own work.
| Mistake to look for | Where it shows up | Symptom | Repair evidence |
|---|---|---|---|
| Finishing Repository State Diagnostics with only a final answer | Repository State Diagnostics | The work has no failed case, trace, test, proof gap, or design stress point. | Add the smallest broken example and show the repair that changes the result. |
| Finishing Branching and Integration Lab with only a final answer | Branching and Integration Lab | The work has no failed case, trace, test, proof gap, or design stress point. | Add the smallest broken example and show the repair that changes the result. |
| Finishing Collaboration and Review Lab with only a final answer | Collaboration and Review Lab | The work has no failed case, trace, test, proof gap, or design stress point. | Add the smallest broken example and show the repair that changes the result. |
| Finishing Code Katas with only a final answer | Code Katas | The work has no failed case, trace, test, proof gap, or design stress point. | Add the smallest broken example and show the repair that changes the result. |
| Treating Git Mental Model: Snapshots, HEAD, and References as vocabulary instead of a tool | Git Mental Model: Snapshots, HEAD, and References | The explanation names the concept but cannot decide between two cases. | Write one example, one non-example, and the rule that separates them. |
| Treating The Staging Area and the Commit Cycle as vocabulary instead of a tool | The Staging Area and the Commit Cycle | The explanation names the concept but cannot decide between two cases. | Write one example, one non-example, and the rule that separates them. |
Practice Mistake Checks
Pull any miss from these checks into your mistake log.
Repository State Diagnostics
Source: practice/01-repository-state-diagnostics.md
For each mistake:
- say what is wrong
- write the safer move
- explain why Mistakes:
- Committing without checking what is staged.
- Using
git pullbefore reading current local state. - Assuming a clean
git diffmeans nothing is staged. - Thinking
origin/mainupdates by itself without communication.
Branching and Integration Lab
Source: practice/02-branching-and-integration-lab.md
Explain why each move is risky:
- Rebasing a branch that teammates already pulled.
- Deleting a branch before confirming the work is integrated.
- Resolving a merge conflict by choosing a side without reading the actual code.
Collaboration and Review Lab
Source: practice/03-collaboration-and-review-lab.md
For each mistake, explain the better move:
- Using
pullwithout checking whether your branch has local commits. - Pushing directly to the shared main branch for every experiment.
- Opening one pull request that mixes refactor, bug fix, and docs cleanup.
Repair Protocol
For each real mistake:
- Reproduce the failure on the smallest example, trace, proof, query, command, or design sketch.
- Name the hidden assumption.
- Repair the artifact.
- Save evidence that changed: failing then passing test, corrected proof step, revised diagram, safer command, benchmark, or review note.
- Add one retrieval card beginning with Check... before... or Do not use... when....
Mistake Log
| Date | Mistake | Symptom | Root cause | Repair evidence | Retrieval card |
|---|---|---|---|---|---|
| Starter | Pick one radar row above | Explain how it would fail in this module | Name the assumption | Add a counterexample or corrected artifact | Write the card before closing the page |
Completion Standard
- At least five real mistakes are logged.
- At least two mistakes include a counterexample or failing test.
- At least one mistake connects to an older semester skill.
- At least one correction changes code, a proof, a diagram, a command transcript, a query, or a design decision.