pub fn inspect(root: &Path) -> Result<Option<GitStatus>>
Ordinary folders have no source-control status; damaged repositories remain errors.