fn git(dir: &Path, args: &[&str]) -> Option<String>
Run a git command in dir, returning trimmed stdout on success.
dir