pub fn commit(repo_root: &Path, message: &str) -> Result<String>
Stage all files and commit. Returns empty string if nothing to commit.