1. Fetch origin and tags
git fetch --tags
git fetch origin
2. Add work tree
git worktree add -b <remote branch name> ../<new folder> origin/<remote branch name>
Yogesh Sharma
git fetch --tags
git fetch origin
git worktree add -b <remote branch name> ../<new folder> origin/<remote branch name>