git worktree has .git as a file, not a directory.
git worktree
.git
Signed-off-by: Maxime “pep” Buquet pep@bouah.net