Git

Distributed version control without the fear.

💡
This course has 5 lessons. Start with the first one and use the next / previous links at the bottom of each lesson — the sidebar keeps the whole course in order.

Lessons

  1. Git basicsThe three areas every file lives in, the daily commit loop, and writing history worth reading later.
  2. Branching and mergingCreating branches, switching safely, merging versus rebasing, and keeping a messy history out of main.
  3. Remotes and collaborationCloning, pushing, fetching versus pulling, and understanding what origin/main actually points at.
  4. Undoing mistakesrestore, reset and revert — and how git reflog rescues commits you thought were gone forever.
  5. Conflicts, stash and cherry-pickReading conflict markers, resolving without losing work, shelving changes mid-task, and copying single commits.

More in DevOps & Tooling

Linux

Last refreshed 2026-09-17.