Git worktree

A bare git repository is needed to build a worktree:

git clone --bare <repositoryAddress>

To create a worktree that is based on an existitng branch run:

cd repositoryAddress.git 
git worktree add --checkout <remoteBranch>