WorkTree
With a Repository that already exist
git clone https://github.com/MrAmericanMike/WorkTree.git WorkTree/master
cd WorkTree/master
git worktree add ../cool coolIf branch cool doesn't exist yet use:
git worktree add ../coolhttps://git-scm.com/docs/git-worktree
git checkout --orphan 1.21.4-fabric
git reset .
git clean -fxfd
git commit --allow-empty -m "1.21.4-fabric"
git checkout master
git worktree add ../1.21.4-fabric 1.21.4-fabric