Skip to main content
DevOpsLabTH.dev

Git

The commit hygiene, branching strategy, and conflict resolution that keep PRs fast and reviewers happy.

Hands-on labsbeginner31 labs
Start course
By the end you'll be able to
  • Write commits a reviewer can actually read
  • Resolve merge conflicts without rage-deleting branches
  • Recover work after a bad rebase
  • Keep a clean PR without forcing-push panic

Modules

Work through the labs in order. Each module builds one operating habit.

  1. 01
    What is version control
    Before any command, build a mental model of version control as a tool that tracks every change, lets teams collaborate, and lets you travel back in time.
    10 min
    Start
  2. 02
    What is a Git repository
    A Git repository is just a folder with a hidden `.git/` directory inside. Once you see what is in there, the magic dissolves.
    15 min
    Start
  3. 03
    What is a commit
    A commit is a snapshot of your project plus a pointer to the commit before it. See the raw object Git wrote on disk.
    15 min
    Start
  4. 04
    Configure Git identity
    Set your name and email so Git can stamp every commit you make.
    15 min
    Start