Skip to content
Course

Git & Version Control Mastery

Go beyond add-commit-push: branch and merge with confidence, resolve real conflicts, recover work you thought was lost, and rewrite history cleanly with rebase and bisect.
  • 3 labs
  • about 2.3 hours
  • Beginner to Intermediate to Advanced

Labs in this course

  1. 01Branching, Merging & Conflict ResolutionBeginner · 45 min
  2. 02History Surgery: Undo, Recover & Cherry-pickIntermediate · 45 min
  3. 03Rewriting History: Rebase & BisectAdvanced · 45 min

What you will be able to do

  • Create and switch branches with git branch / git checkout
  • Commit work on a feature branch and merge it back into main
  • Undo a commit on shared history safely with git revert
  • Read git's reflog to find a commit that was reset away
  • Squash several commits into one with an interactive rebase
  • Rebase a feature branch onto an updated main for linear history

How a lab works

Each lab opens a fresh machine beside the instructions. You work in a real terminal; when you finish a task, the platform checks the machine itself and tells you what is still wrong. The machine is disposable and is removed when the timer ends, but your progress is kept.

Lab machines for more practice