Git worktrees allow working on multiple branches in parallel
Git worktrees solve the issue with plain git by creating a copy of the repo files as a sibling directory of the repo. The difference is that this copy now has a .git file (NOT a directory), which points to the original git database in the main repo directory. This structure lets each tree have its own checked-out branch sharing the same git history.