pub trait GitConfig { // Required method fn get(&self, key: &str) -> Option<String>; }
Abstraction over git config --get <key> so tests can avoid a real git binary.
git config --get <key>
git
Return the value of git config --get <key>, or None if unset / unavailable.
None