pub fn detect_git(base: Option<&Path>) -> Option<GitInfo>
Detect git root, origin URL, and normalized repo slug if GitHub-like.