Last updated: 2026-10-30

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.