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
- 25 minThe three places your work lives
Working tree, staging area and history — and why `git add` exists at all.
You board here - 25 minBranching without the cold sweat
What a branch really is (a moving label), and when merge beats rebase.
- 25 minUndoing things safely
reflog, reset, revert and restore — and which of them can actually lose work.
- 25 minReviewing a pull request kindly
Reading a diff, leaving comments that help, and staying up to date without a mess.
A look at the teaching
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
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