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