run method
Implementation
String run(List<String> args, {bool allowFailure = false}) {
final result = Process.runSync('git', args, workingDirectory: root);
if (result.exitCode != 0 && !allowFailure) {
throw ReleaseException(
'git ${args.join(' ')} failed:\n${result.stderr}'.trimRight(),
);
}
return (result.stdout as String).trim();
}