Curriculum

10 tracks. 108 lessons.

Sequenced from git init through interactive rebase. Each lesson pairs concise theory with a challenge in the simulated terminal.

10 tracks108 lessons~23.3k XP available
01Track 1 of 10

Foundations

Core Git workflow

10 lessons · 1370 XP
  1. 01
    Repository Init
    Turn a folder into a Git repository
    +100 XP
  2. 02
    Stage & Commit
    Pick what goes in, then snapshot it
    +150 XP
  3. 03
    Status, Log & Diff
    The three commands you'll run a hundred times a day
    +120 XP
  4. 04
    .gitignore Mastery
    Control what Git tracks
    +130 XP
  5. 05
    Configuration
    Identity, editor, defaults
    +110 XP
  6. 06
    The Three Trees
    Working dir, index, HEAD
    +160 XP
  7. 07
    The Object Model
    Blobs, trees, commits
    +180 XP
  8. 08
    HEAD, Refs, and the Symbolic Ref
    What HEAD really points to
    +170 XP
  9. 09
    Anatomy of a Commit Message
    Write commits future-you will love
    +130 XP
  10. 10
    File Modes and Permissions
    Executable bits, symlinks, mode tracking
    +120 XP
02Track 2 of 10

Branching & Merging

Parallel timelines

12 lessons · 2420 XP
  1. 01
    Create & Switch
    Start a parallel line of work off main
    +180 XP
  2. 02
    Merge Strategies
    Fast-forward vs three-way: two ways branches combine
    +220 XP
  3. 03
    Rebase for Linear History
    Replay your commits on top of another branch for linear history
    +280 XP
  4. 04
    Divergent Branches
    When local and remote diverge
    +250 XP
  5. 05
    Branch Naming Conventions
    Names that scale beyond ten devs
    +110 XP
  6. 06
    Listing & Filtering Branches
    Find any branch in a sea of them
    +140 XP
  7. 07
    Renaming Branches
    Fix a typo without losing work
    +130 XP
  8. 08
    Upstream & Tracking Branches
    Make `git push` and `git pull` know where to go
    +200 XP
  9. 09
    Resolving Merge Conflicts
    Read the markers, pick the right side
    +260 XP
  10. 10
    Squash Merge
    Collapse a feature branch into one clean commit
    +200 XP
  11. 11
    Three-way Merge Internals
    What `ort` is actually doing
    +230 XP
  12. 12
    Octopus Merge
    Merging more than two branches at once
    +220 XP
03Track 3 of 10

Inspection & Debugging

Find bugs, trace history

10 lessons · 2030 XP
  1. 01
    Git Blame
    Who wrote this line?
    +200 XP
  2. 02
    Git Grep & Pickaxe
    Search code across history
    +180 XP
  3. 03
    Git Shortlog
    Group commits by author for instant contribution reports
    +150 XP
  4. 04
    Git Bisect
    Binary-search history to find the commit that broke things
    +300 XP
  5. 05
    Advanced log filters
    Slice history by author, date, message
    +200 XP
  6. 06
    Inspecting Commits with show
    Drill into any commit's full content
    +160 XP
  7. 07
    File History across Renames
    Follow a file through every rename
    +220 XP
  8. 08
    Pickaxe in Detail
    Find when a string entered or left the codebase
    +230 XP
  9. 09
    Diff Strategies
    Beyond plain `git diff`
    +170 XP
  10. 10
    Range Diffs
    Compare two versions of a branch
    +220 XP
04Track 4 of 10

Undo & Recovery

Fix mistakes safely

12 lessons · 2740 XP
  1. 01
    Revert vs Reset
    The critical difference
    +250 XP
  2. 02
    Reset Variations
    Soft, mixed, hard — three depths of undo
    +220 XP
  3. 03
    Clean & Restore
    Delete junk files and undo working-copy edits
    +180 XP
  4. 04
    Reflog — Undo Anything
    Git's safety net
    +350 XP
  5. 05
    Amending Commits Safely
    Fix the last commit without history pollution
    +200 XP
  6. 06
    Recovering Lost Commits
    Reflog → reset, full rescue
    +280 XP
  7. 07
    Fixing the Last Commit Message
    A typo without amend trauma
    +150 XP
  8. 08
    Resetting a Single File
    Undo changes to one file without affecting others
    +180 XP
  9. 09
    Detached HEAD Recovery
    Why your commits are about to vanish
    +280 XP
  10. 10
    Recovering Deleted Branches
    Bring back `git branch -D` mistakes
    +250 XP
  11. 11
    Stash as Temporary Undo
    Pause your changes without committing
    +200 XP
  12. 12
    Hard Reset to Origin
    The nuclear sync option
    +200 XP
05Track 5 of 10

Remote & GitHub

Collaborate with teams

12 lessons · 2390 XP
  1. 01
    Remotes & Push/Pull
    Sync with the world
    +200 XP
  2. 02
    Pull Request Workflow
    Propose, review, merge
    +280 XP
  3. 03
    Fork & Upstream
    Open source contribution
    +250 XP
  4. 04
    SSH Keys & Authentication
    Stop typing your password
    +200 XP
  5. 05
    Personal Access Tokens
    HTTPS auth without your password
    +180 XP
  6. 06
    Multiple Remotes
    Fork + upstream + staging, all in one repo
    +220 XP
  7. 07
    Renaming & Removing Remotes
    Reshape your remote graph
    +130 XP
  8. 08
    Pruning Stale Branches
    Clean up the ghosts of remote branches past
    +160 XP
  9. 09
    Pushing Tags
    Tags don't push themselves
    +150 XP
  10. 10
    Force-with-Lease
    The safer force push
    +240 XP
  11. 11
    GitHub CLI Basics
    PRs from the terminal
    +200 XP
  12. 12
    Branch Protection Rules
    Make `main` hard to break
    +180 XP
06Track 6 of 10

Release & Ops

Tags, releases, workflows

10 lessons · 2120 XP
  1. 01
    Tagging Releases
    Mark a commit as a named release
    +220 XP
  2. 02
    Git File Operations
    Remove, rename, and untrack files the Git-native way
    +160 XP
  3. 03
    Stash & Cherry-Pick
    Park unfinished work, then copy a commit from elsewhere
    +240 XP
  4. 04
    Semantic Versioning Deep Dive
    MAJOR.MINOR.PATCH, pre-release, build metadata
    +180 XP
  5. 05
    Annotated vs Lightweight Tags
    When to use which
    +170 XP
  6. 06
    Tag Signing (GPG)
    Cryptographically verify releases
    +220 XP
  7. 07
    Release Branches
    Stabilize before shipping
    +250 XP
  8. 08
    Hotfix Branches
    Patch production without disrupting current work
    +230 XP
  9. 09
    CHANGELOG Generation
    Auto-write release notes from commit history
    +200 XP
  10. 10
    Commit Signing
    Prove who really wrote a commit
    +250 XP
07Track 7 of 10

Advanced Power

Pro techniques

12 lessons · 3470 XP
  1. 01
    Interactive Rebase
    Edit, reorder, squash, or drop recent commits before pushing
    +350 XP
  2. 02
    Worktrees
    Check out multiple branches at once in separate folders
    +300 XP
  3. 03
    Submodules
    Embed another repo at a pinned commit
    +300 XP
  4. 04
    Hooks & Automation
    Run scripts automatically at key Git events
    +350 XP
  5. 05
    Reordering Commits
    Put your story in logical order before review
    +280 XP
  6. 06
    Squashing & Autosquash
    Collapse fixup commits automatically
    +290 XP
  7. 07
    Splitting a Commit
    Break one commit into many
    +320 XP
  8. 08
    Cherry-Pick Series
    Move a range of commits across branches
    +270 XP
  9. 09
    Git Notes
    Attach metadata to commits without rewriting history
    +220 XP
  10. 10
    Sparse Checkout
    Check out only part of a monorepo
    +280 XP
  11. 11
    Partial Clones
    Clone the metadata, fetch blobs on demand
    +260 XP
  12. 12
    Custom Refs
    Branches and tags aren't the only refs
    +250 XP
08Track 8 of 10

Daily Workflows

Patterns used every day

12 lessons · 2770 XP
  1. 01
    The Perfect Commit
    Atomic changes
    +200 XP
  2. 02
    Trunk-Based Dev
    Short branches, fast merges
    +250 XP
  3. 03
    Aliases & Productivity
    Shortcuts and power settings that compound over years
    +180 XP
  4. 04
    Maintenance
    Reclaim space, verify integrity, scale to huge repos
    +200 XP
  5. 05
    Conventional Commits
    Machine-parseable commit messages
    +220 XP
  6. 06
    Pre-commit Hooks
    Catch problems before they enter history
    +240 XP
  7. 07
    Husky & lint-staged
    Run linters only on changed files
    +230 XP
  8. 08
    Reviewing PR Diffs Locally
    Read code in your editor, not GitHub's UI
    +230 XP
  9. 09
    Backporting Changes
    Apply a main-line fix to an older release
    +270 XP
  10. 10
    Long-Running Features (Flags)
    Ship in pieces without long-lived branches
    +250 XP
  11. 11
    Rebasing Long-Lived Branches
    Keep an in-flight branch current
    +280 XP
  12. 12
    Sync Strategies for Forks
    Keep your fork current with upstream
    +220 XP
09Track 9 of 10

Git Internals

Open the hood

10 lessons · 2300 XP
  1. 01
    The .git Directory Tour
    What's actually inside a repo
    +180 XP
  2. 02
    The Object Database
    Content-addressed storage explained
    +220 XP
  3. 03
    Blobs, Trees, Commits as DAG
    Why Git is a graph, not a sequence
    +250 XP
  4. 04
    Refs and Symbolic Refs
    Branches, tags, and HEAD demystified
    +210 XP
  5. 05
    The Index Format
    What `.git/index` actually is
    +240 XP
  6. 06
    Packfiles
    How Git compresses its history
    +260 XP
  7. 07
    Garbage Collection Internals
    How Git reclaims space
    +250 XP
  8. 08
    Reachability
    Why some commits live forever and others vanish
    +240 XP
  9. 09
    Loose vs Packed Objects
    Two formats for the same data
    +220 XP
  10. 10
    Plumbing vs Porcelain
    Git's layered command architecture
    +230 XP
10Track 10 of 10

Teamwork & Code Review

Collaborate without friction

8 lessons · 1680 XP
  1. 01
    Reviewing Code with diff
    Read changes like a senior engineer
    +200 XP
  2. 02
    The PR Lifecycle
    From draft to merged, end to end
    +230 XP
  3. 03
    Reviewing Branches Locally
    Pull a PR, run the code
    +220 XP
  4. 04
    Resolving Conflicts as a Team
    When the merge says both of you changed it
    +250 XP
  5. 05
    Co-authoring Commits
    Share credit on pair-programmed work
    +180 XP
  6. 06
    Pair Programming Workflows
    Git for two-at-one-keyboard
    +200 XP
  7. 07
    Repository Onboarding
    Make a new dev productive on day one
    +210 XP
  8. 08
    Documentation Conventions
    Docs as a first-class part of the repo
    +190 XP