Future<String> getGitLastCommitHash(String root) async { final result = await runCommand(root, 'git log -n 1 --pretty=format:"%H"'); return result.first.stdout; }