If there’s one Git tool that few people know about, it’s “worktree.” Once you’ve mastered this tool, you’ll find it incredibly hard to do without it. But you have to use it the right way. Here’s a method I’ve been using for a very long time




TL;DR


In an empty directory:



# 1. Clone the repo into a hidden .bare folder
git clone --bare...