Areas we serve
Book 11

GitHub for Vibe Coders

Version control as the audit trail of every agent edit and commit

Free · Digital Textbook

Introductory and detailed: what Git and GitHub store, how coding agents edit and commit, and why the repository is the source of record for agentic work.

  • 9 chapters
  • ~4 hours
  • Hands-on exercises in every chapter
Start Reading
Table of Contents

Chapters

Read in order the first time — later chapters reference the lab company introduced in Chapter 1.

  1. 01 Welcome & Why This Is Not Optional Agents can write the app. Only commits can prove what they did. 12 min
  2. 02 What Version Control Actually Stores Repository, working tree, staging, commit, and why a folder copy is not history. 22 min
  3. 03 GitHub as the Shared Record Remotes, push and pull, and why origin/main is the product. 24 min
  4. 04 How an Agent Edits The read, write, and run loop, and how to read the diff before you trust it. 26 min
  5. 05 How an Agent Commits Identity, messages, staging, and what must never enter history. 28 min
  6. 06 Branches, Pull Requests & Review Keep main protected. The pull request is the handoff, not the chat. 26 min
  7. 07 Setup, Protection & Conflicts Create the repo, lock main, and merge when you and the agent edit the same lines. 26 min
  8. 08 The Audit Trail log, blame, show, and revert. The repository is the operation log. 28 min
  9. 09 Capstone: One Audited Change Standing orders for the agent, the sequence, and how you undo it later. 35 min