Git and Agents

Note

Draft placeholder — outline notes only; prose not yet written.

Points this chapter’s introduction needs to make:

  • Why AI coding agents change how repositories are used: many concurrent actors, high commit volume, review becoming the bottleneck

  • The repository as the agent’s workspace and the commit/PR as its unit of hand-off

  • How this chapter builds on worktrees (Ch 3, Git Branching) and the collaboration workflows of Ch 4, Distributed Git

Workflows for Agents

Note

Draft placeholder — outline notes only; prose not yet written.

Points this section needs to cover:

  • Branch-per-agent: giving each agent its own topic branch and remote namespace

  • Worktree-per-agent for parallel local work (builds on Ch 3, Git Branching)

  • Sandboxed and disposable checkouts; cloning strategies for agent VMs

  • Commit and push cadence: small commits, frequent pushes, recoverable state

  • Draft pull requests as the agent hand-off unit; humans review and land