Skip to content
Free1h 40m · 12 lessons

Git & GitHub Essentials

Every team runs on Git, and almost nobody is taught it properly. In under two hours you will build a mental model of commits, branches and remotes, then practise the recoveries that matter: undoing a bad commit, rescuing work from a detached head, and reviewing a pull request kindly.

The route

  1. The three places your work lives

    Working tree, staging area and history — and why `git add` exists at all.

    You board here
    25 min
  2. Branching without the cold sweat

    What a branch really is (a moving label), and when merge beats rebase.

    25 min
  3. Undoing things safely

    reflog, reset, revert and restore — and which of them can actually lose work.

    25 min
  4. Reviewing a pull request kindly

    Reading a diff, leaving comments that help, and staying up to date without a mess.

    25 min

A look at the teaching

Stop 3 · Undoing things safelySample excerpt

You committed on the wrong branch. Nothing is lost yet.

# See every commit HEAD has pointed at, including the ones
# that are no longer on any branch.
git reflog

# a1b2c3d HEAD@{0}: commit: add rate limiter
# 9f8e7d6 HEAD@{1}: checkout: moving from main to main

# Put the commit where it belonged, then rewind this branch.
git branch rate-limiter a1b2c3d
git reset --hard HEAD~1

Almost nothing in Git is destructive. reflog is the receipt drawer, and knowing it exists is the difference between a bad afternoon and a thirty-second fix.

Who is driving

DM
Dávid Marton
Platform engineer, ex-fintech

Dávid teaches the way a good colleague explains things at a whiteboard — no jargon for its own sake, and nothing hidden behind “as you can see”.

Placeholder profile