Git worktrees essentially solve this. It essentially copies your repo to a new folder