Set up Git worktrees with environment isolation. Use when creating worktrees, managing port conflicts between worktrees, copying .env files to worktrees, or isolating Claude settings per worktree. Handles PORT_OFFSET calculation, file copying, database isolation, and IDE configs.