git worktree: one store, many working directories
Switching branches is a destructive operation on your files. git worktree removes that coupling — here is the model underneath, the plumbing that makes it cheap, and the three rules Git only mentions when you break them.