Cool feature - thanks for sharing I would mention that you actually don’t need the “git clone —bare ” you can just name your “master” clone accordingly eg git clone {repo}-master cd {repo}-${branchname} # note the “../” infront of the name And then you’ll have 2 normal working checkouts in separat directories that are just each branch and you can just switch project/work dir in your IDE of choice. Also if you forget to add the “../” when adding a worktree to the “master” checkout resulting in a new directory that isn’t committed, then there is “git worktree move

” command to move it accordingly.

Source: Fetching Title#0d0i