Function git

Source
pub fn git<S: AsRef<OsStr>>(
    repo: &Path,
    args: impl IntoIterator<Item = S>,
) -> Result<String, Error>
Expand description

Execute a git command by spawning a child process.