execute method
Runs git process and returns result.
If run fails, it will print an error and exit the process.
Implementation
@override
String execute(List<String> args, String desc, {bool printIfError = true}) {
if (verbose) print.verbose('git ${args.join(' ')}');
switch (args[0]) {
case "remote":
return "https://github.com/demo/demo.git";
}
return "";
}