pub fn is_git_installed(dir: &Path) -> boolExpand description
True when dir looks installed by add: a .git directory with an
origin remote. Hand-copied plugins have no .git; a bare git init
has .git but no remote. The Settings UI uses this to decide which rows
offer Update/Remove.