//! Workspace git-status summary for the status bar (display only — spec §12
//! keeps every other git interaction out of scope).
//!
//! This shells out to the user's `git`; it is repo metadata, not a vault
//! file operation, so it lives in the TUI rather than core.
use PathBuf;
/// Status-bar segment for the workspace's git state:
/// - `Some("git ✓")` — clean working tree
/// - `Some("git ●N")` — N changed paths
/// - `None` — `git` missing or the workspace is not a repository
pub async