# git worktree
git worktree add <folder> <branch>
Example:
git worktree add ~/Worktrees/project-master master
Then use as any branch/repo and to delete simply delete the folder and run:
git worktree prune
git worktree add <folder> <branch>
Example:
git worktree add ~/Worktrees/project-master master
Then use as any branch/repo and to delete simply delete the folder and run:
git worktree prune