Last updated: 2026-04-18

What is Git worktree?

A Git feature that lets one repo have multiple working directories on different branches simultaneously. Agents use worktrees for parallel experiments — try a refactor in an isolated tree without polluting main.

← Back to the full AI agent glossary.