- Noosaga
- Courses
- Applied Logic & Computing
- Git & Version Graphs
Applied Logic & Computing · Live Commit DAG & Pure-C# Git Engine
Git & Version Graph Foundry
Turn Git from scary incantations into clear graph intuition across 10 foundry towers: Three-Tree staging (Working/Index/HEAD), branching & 3-way merges, stash stacks, simulated origin remotes with --force-with-lease, interactive rebase -i, cherry-pick, revert -m 1, semver tags, reflog rescue, and 16-commit git bisect.
- Live Painter2D Commit DAG
- Commit→Tree→Blob X-Ray
- Interactive rebase -i Workbench
- Reflog Rescue & 16-Commit Bisect
- Practice Towers
- 10
- Guided Floors
- 40
- Crown Rooms
- 10
- Verification
- Live Engine
What You Will Practice
Type real commands (with Up/Down CLI history, Tab autocomplete, and Ctrl+Z undo) while watching commits, branch pointers, HEAD, and remote-tracking refs update instantaneously on a lapis-and-gold Painter2D Commit DAG.
Toggle SHOW GOAL to compare your target graph topology or flip on OBJECTS X-Ray to inspect the exact commit → tree → blob hashes under the hood.
- Three-Tree model (Working/Index/HEAD), add, restore, amend, and soft/mixed/hard reset
- Branching, LCA 3-way merges, --no-ff, --squash, conflict resolution, and stash stacks
- Simulated origin remotes: fetch, pull --rebase, push, and --force-with-lease safety
- Interactive rebase -i, rebase --onto, range cherry-pick, revert -m 1, reflog, and git bisect
Course Curriculum (10 Towers · 40 Interactive Floors)
- Tower 1
Tower 1 · The Three Trees & Snapshots
Master Git's core three-tree mental model: Working Tree, Staging Index, and HEAD commit snapshots.
- Working Tree → Index → HEAD
- Selective Staging & Restore
- Amending the Tip Commit
- Soft, Mixed & Hard Reset
- Tower 2
Tower 2 · Branches, HEAD & Fast-Forward
See branches as cheap 41-byte pointers, master fast-forward merges, relative refs, and detached HEAD.
- Commits & Moving HEAD
- Branching with git switch -c
- Fast-Forward Merge
- Relative Refs & Detached HEAD
- Tower 3
Tower 3 · 3-Way Merges & Conflicts
Unite diverged histories with true 3-way LCA merges, calm conflict resolution, --no-ff & --squash strategies, and safe aborts.
- True 3-Way LCA Auto-Merge
- Interactive Merge Conflict
- Squash & No-FF Merge Strategies
- Safe Abort Under Conflict
- Tower 4
Tower 4 · Stashing & Context Switching
Master interruption-proof workflows with git stash push, list, pop, apply, drop, conflict resolution, and stash branch.
- Emergency Interrupt Stash
- Named Multi-Stash Stack
- Stash Pop Conflict
- Zero-Conflict git stash branch
- Tower 5
Tower 5 · Linear Rebase & Cherry-Pick
Craft clean linear histories with git rebase, range cherry-picks, mid-rebase conflict recovery, and branch -f pointer surgery.
- Linear git rebase main
- Surgical Cherry-Pick & Ranges
- Mid-Rebase Conflict & --continue
- Branch Pointer Surgery (branch -f)
- Tower 6
Tower 6 · Interactive Rebase & Surgery
Polish commit history before code review with rebase -i (pick, reword, squash, fixup, drop, reorder) and rebase --onto transplants.
- Squash & Fixup WIP Commits
- Drop Debug & Reword Title
- Reorder Independent Commits
- Transplant with git rebase --onto
- Tower 7
Tower 7 · Remotes, Fetch, Pull & Push
Master origin/* remote-tracking pointers, fetch vs. pull --rebase, publishing branches, and non-fast-forward rejection.
- Understanding git fetch & origin/main
- git pull --rebase vs Merge Pull
- Publish & Prune Remote Branches
- Non-Fast-Forward Push Rejection
- Tower 8
Tower 8 · Collaborative PRs & Force-With-Lease
Update rebased pull requests safely, protect teammates' commits with --force-with-lease, and maintain stacked PR chains.
- Rebasing a Live PR Safely
- The --force-with-lease Safety Net
- Updating a Stacked PR Chain
- Syncing a Long-Lived Feature Branch
- Tower 9
Tower 9 · Tags, Releases & Workflows
Stamp immutable annotated semver releases, backport hotfixes to release branches, and safely revert merged PRs with revert -m 1.
- Annotated Semver Tags & Describe
- Cutting a Release Line
- Security Hotfix Backport
- Reverting a Broken Merge (-m 1)
- Tower 10
Tower 10 · Rescue Ops, Bisect & Internals
Master safe shared reverts, reflog time-travel, O(log n) git bisect across 16 commits, and content-addressed object-graph X-Ray.
- Safe Shared Revert vs Reset
- Reflog Time-Travel Rescue
- O(log n) Git Bisect (16 Commits)
- Object Graph X-Ray & Detached Rescue
Deterministic Verification & Crown Payoff
Pure-C# Git Graph, Content-Tree & Ref Topology Verification
Runs a full pure-C# Git engine verifying exact commit DAG topology, file-tree contents, branch/tag/remote refs, merge bases, and bisect culprit identification.
Supported inputs: Live Git CLI (Tab Autocomplete + History) · Commit DAG · Three-Tree Ledger
Crown Room payoff: Untangle diverged histories, recover dropped commits from reflog, and pinpoint regressions via git bisect across 10 Foundry Crown drills.
Practice Git & Version Graphs Inside Nousfarer
Land directly on the Git & Version Graph Foundry planet inside Nousfarer to climb all 10 interactive towers right in your browser.
Frequently Asked Questions
How does Git & Version Graphs verify my work?
Runs a full pure-C# Git engine verifying exact commit DAG topology, file-tree contents, branch/tag/remote refs, merge bases, and bisect culprit identification. Every floor runs deterministically in your browser with immediate feedback — no video pausing or guesswork.
How much content is included in Git & Version Graphs?
The planet spans 10 progressively richer towers (40 guided floors plus 10 Crown Room capstones), paired with Ship Owl spaced-repetition recall whenever you want to sharpen a tricky concept.
What equipment or setup do I need to play Git & Version Graphs?
Everything runs directly inside your browser inside Nousfarer with zero plugins required. Supported inputs: Live Git CLI (Tab Autocomplete + History) · Commit DAG · Three-Tree Ledger.