pub fn git_command( args: &[&str], repo: Option<&Path>, check: bool, capture: bool, ) -> Result<CommandResult>
Run a git command.