pub fn is_main_worktree(path: &Path) -> boolExpand description
Whether path is the repo’s main worktree. Worth telling apart because
git worktree remove refuses on it, so any advice that would free a branch
by removing its worktree is a dead end there.