Repository Foundations
You have joined a new project and need to create clean, reviewable snapshots.
- 8 practical command rooms
- 1 multi-step boss workflow
- Immediate explanations and safety notes
CURRICULUM // GIT
Build a reliable version-control workflow, then recover when history goes wrong.
FOUR-ZONE PATH
Each zone turns reference material into an active scenario. You will choose commands, repair mistakes, predict outcomes, and assemble complete workflows.
You have joined a new project and need to create clean, reviewable snapshots.
Several features are moving at once and you must keep their histories under control.
Your local work must safely synchronize with a remote team repository.
A change went wrong. Inspect the evidence and restore the repository without losing useful work.
PRACTICE DESIGN
The multi-step sequences below are authored workflows, while individual command rooms link to the closest available command reference.
Repository Foundations
Initialize first, inspect the working tree, stage the intended files, commit them, then verify the resulting history.
Prepare an existing project for a clean first commit without skipping identity and status checks. Confirm the author identity and working tree before committing, then inspect the exact snapshot that was created.
Read the complete field guide →Branch Labyrinth
A clean status check precedes branch creation; the feature is staged and committed before leaving its branch.
Temporarily protect unfinished work, inspect another branch, then return and restore the original work. The unfinished changes are identified and stashed before leaving the feature branch, then restored only after returning to that same branch.
Read the complete field guide →Remote Outpost
Confirm local state, fetch remote references, move to the feature branch, rebase it, and inspect the rewritten history.
Publish a rebased feature branch while protecting teammates from an unsafe force push. Fetch before rebasing, publish rewritten history with force-with-lease rather than force, then verify the local state.
Read the complete field guide →Recovery Vault
Inspect the repository and target commit before creating a new revert commit, then confirm the working tree is clean.
Recover a commit that disappeared after an accidental history rewrite. Use the reflog to locate the lost object, inspect it, anchor it with a branch, switch to that branch, and verify the recovered history.
Read the complete field guide →HOW THIS WORLD WAS BUILT
The complete command library is public and each field guide explains prerequisites, failure modes, verification, and safety boundaries. Source-linked does not mean a command was executed on every platform.
Open the public command library →