Most git tutorials stop at commit, push, and pull. This course starts where they stop: how git actually stores your work, how to undo almost anything, how to keep a branch reviewable, and how to find the commit that broke the build. It’s free, it’s one lesson a week, and the examples come from firmware and systems projects, not toy repositories.
Every command in every lesson is tested. A script runs each one in a clean environment and compares the output with what the post shows, on every change and again every week against the newest git release. If git changes, the lesson gets fixed.
What you get
- 17 lessons and 2 bonus lessons, in the order you’d need them on a new machine and a new team.
- A hands-on exercise for each lesson. A script builds a small practice repository, you do the task, and a check script tells you whether you got it. Nothing touches your own git config.
- A cheat sheet config with every setting and alias the course recommends, each labeled with its lesson.
The exercises and the cheat sheet are on GitHub: github.com/jhaws1982/git-power-user.
The lessons
Foundations
Set up once
- 2. Configuring git: global vs. local settings
- 3. One machine, two git identities with includeIf
- 4. SSH keys for git on Linux, WSL, and Windows
- 5. Credential helpers for HTTPS
Daily work
- 6. git clone options: branches, shallow and blobless clones, submodules
- 7. Atomic commits with git add -p
- 8. Undo anything: restore, reset, revert, and the reflog
- 9. Branches day to day
- 10. git worktree: two branches at once
Working with a team
- 11. Remotes: sync a fork and pull in a teammate’s branch
- 12. Clean up a branch before review: fixup, autosquash, range-diff
- 13. Merge commit, rebase, or squash?
- 14. git hooks: check formatting on commit, run tests before push
- 15. Find the commit that broke it: bisect, log -S, and blame
Go faster
Bonus
- Tag releases and sign commits: annotated tags, describe, SSH signing
- .gitattributes and line endings
How to take it
Start with lesson 1, even if you’ve used git for years: the rest of the course leans on it. Read a lesson, then run its exercise:
git clone https://github.com/jhaws1982/git-power-user
cd git-power-user
lessons/08-undo-anything/setup.sh
lessons/08-undo-anything/check.shCode language: Bash (bash)
Found a step that doesn’t work for you? Open an issue and tell me your OS and git --version.
Bringing your team along
Everything here works for one person. Getting a whole team onto the same branching, review, and release habits is a different job, and it’s one I take on in consulting work, with your repositories and your workflow. The CI/CD Pipeline service builds a pipeline that holds those habits in place. See the Services page or get in touch.