Glossary · Term

git worktree

← all terms

Definition

Plain language

A feature that gives you a separate working copy of a code project so parallel work can't step on itself.

As stated in the literature

A Git mechanism providing multiple independent working directories branched from one repository, used to give each parallel agent an isolated codebase copy whose experiments cannot contaminate the others.

Also called: worktree

Why it matters: It gives each parallel worker an isolated copy of the code, so their simultaneous experiments can't corrupt one another.

For example, two teammates can each get their own separate copy of the same project so one person's half-finished change never overwrites the other's.

Heard on the show

“Each executor gets what's called a git worktree — a literal separate folder on disk, branched off the current best version of the code.”
Episode 131 — Why Autonomous Research Agents Forget Their Own Lessons, and Arbor's Fix

Mentioned in 1 episode

  1. 131
    Why Autonomous Research Agents Forget Their Own Lessons, and Arbor's Fix

Related terms