uncovered an awesome git feature: git worktree
allows us to check out multiple branches at once in the same repo. git worktree
has benefits over cloning multiple copies: you save on disk space (in case your repo has long history) and all worktrees share the same local branches and stashes.
You can use worktrees to have parallel branches checked out long term, f.ex. an older version of the app for comparing functionality, or just to quickly check out coworker’s branch during code review.