fn repair_worktree(repo: &Path, path: &Path) -> Result<(), WorktreeError>Expand description
git worktree repair <path>: git’s own remedy for a registration and
link that name the path the repo has left. Only a stale registration
needs it; reusing one unrepaired leaves every git command in the
worktree failing.