createGit function

Future<bool> createGit()

Implementation

Future<bool> createGit() async {
  final process = await Process.start("git", ['init']);
  await stdout.addStream(process.stdout);
  await stderr.addStream(process.stderr);
  return checkProcessCode(await process.exitCode);
}