Skip to content
rajin

Project workbook · pp. 97–98

The shop-app learning project

A cumulative, optional project to connect your lessons. Keep it separate from the single-lesson sandboxes. Each milestone is an independent decision, not a command-copying exercise.

Where to build it. Use the playground sandbox for a milestone, but its files are deleted when the session ends (30 minutes) and are not saved anywhere. For a project that grows over weeks, run it locally with the setup from the course page. Your milestone checks, notes and rubric below are saved in this browser.

At each milestone, draw the commit graph, run status and record one thing you can predict that you could not before. If uncertain, revisit the indicated lessons.

Milestones

0/8 done (self-assessed)

  1. 01Foundation

    Create a new shop-app repository on main. Add a README, a .gitignore and a simple app.txt. Make two meaningful commits. Verify history and a clean working tree.

    1. Why version control exists2. Your first repository and commit3. The big picture of Git architecture

  2. 02Storage

    Create src and docs folders. Add two identical files; change just one and compare blob/tree IDs. Inspect a commit and recreate a small snapshot using plumbing in a separate sandbox.

    4. Snapshots versus changes5. Hashing and blob objects6. Trees and directory structures7. Commit objects and immutability8. Building a commit from scratch

  3. 03Three states

    Add a payment configuration. Stage one version, edit another and predict all three states. Stage only a ready hunk, leaving experimental work unstaged.

    9. Working directory, Index and HEAD10. What add and commit actually do11. Understanding status and diff12. Selective staging and restoring changes

  4. 04Branches

    Create feature/payments and feature/auth from main. Tag a release, inspect its history, create a hotfix worktree, and practice a stash or WIP commit for a context switch.

    13. Commit graphs and movable references14. HEAD and detached HEAD15. Tags and revision syntax16. Stash, shelving and worktrees

  5. 05Integrate

    Make independent feature changes, then merge. Introduce conflicting config changes in two branches, inspect three stages and resolve. Rebase only a private branch with a backup ref. Revert a deliberately wrong shared change.

    17. Fast-forward and three-way merging18. Understanding and resolving conflicts19. Cherry-picking20. Rebasing and interactive rebasing21. Reset, revert and amend

  6. 06Distributed Git

    Create a bare local server in a sibling directory and push main. Clone into a peer folder. Make competing commits, fetch and integrate before pushing. Use an explicitly named review branch and verify the server refs.

    22. Cloning and remote repositories23. Fetch, pull and push24. Upstream branches and refspecs25. Team collaboration and safe force-pushing

  7. 07Advanced internals

    In a separate clone or disposable copy, create repeated data versions, pack objects, and compare object IDs before and after. Introduce a deterministic regression and locate it with bisect. Simulate deletion of a branch and rescue it.

    26. Packfiles and delta compression27. Reachability and garbage collection28. Reflog, fsck and disaster recovery29. Debugging history with bisect and blame

  8. 08Practical mastery

    Complete the three capstones without the reference scripts first. Verify parent links, the final collaboration result, and each recovered object. Explain every destructive operation and what data it can lose.

    30. Capstone: build a repository with plumbing31. Capstone: simulate team collaboration and conflicts32. Capstone: disaster recovery and final assessment

Mastery rubric

Score yourself honestly on each criterion. Target 8/10 and no unsafe actions before moving on.

Explain accurately

Predict state changes

Perform the task without a recipe

Verify results with Git commands

Choose a safe approach

Score all five criteria to see your total.

Final portfolio evidence

  • A clean repository with readable commit messages and at least two feature branches.
  • A commit graph showing both divergent and merged history.
  • A documented rejected push and successful integration.
  • A short recovery report explaining what survived, what did not, and why.
  • A self-assessment: explain objects, refs, Index, working tree and remotes without notes.