git stash + git switch
git stash && git switch -c try-2
The same folder, switched to another branch.
- Own repository: no
- Same branch twice: no
- .env & node_modules: yes· same folder
- Uncommitted edits: no· stashed
Trade-off: Nothing runs side by side: every switch rewrites the files your editor, dev server and agent are working on.