Today I learned about `git worktree`, which lets you check out multiple branches of the same repo at once. Instead of juggling a single working copy, you can spin up separate directories — one per branch — all linked to the same Git history. This is perfect for running multiple agents in parallel. Give each agent its own worktree on its own branch, let them make changes independently, and then merge their work back together when ready. Here's how it works ``` git worktree add <path-to-folder> -b <branch-name> <starting-point> • <path-to-folder> → where you want the new working directory to live. • -b <branch-name> → create and check out a new branch with this name. • <starting-point> → the commit/branch you’re basing it on (usually main or origin/main). ``` Example: ``` git worktree add feature-2fa -b feature/2fa origin/main git worktree add feature-user-session-tracker -b feature/user-session-tracker ``` Once you're done, `worktree remove` will delete the folder and detach it from the repository's worktree list: ``` git worktree remove feature-2fa ```