pub fn is_git_available() -> boolExpand description
Check whether the git binary is available on PATH.
Probes git --version once per process and caches the result.
Returns false only when the OS reports the binary doesn’t exist
(io::ErrorKind::NotFound). A git that spawns but exits non-zero
still counts as “available” so legitimate git errors propagate normally.