isGitInstalled method
Implementation
Future<bool> isGitInstalled() async {
final result = await Process.run('git', ['--version']);
if (result.exitCode != 0) {
logger
..err('Git is not installed')
..detail('Error: ${result.stderr}');
return false;
}
return true;
}