pub fn cmd(dir: &Path, args: &[&str]) -> Result<String, Error>
Run a git command in a directory and return stdout.