this makes more sense and is more convenient (branches can only be checked out in one worktree)
also implemented perft