checkGitLastCommitHash function
检查代码是否是最新
Implementation
Future<bool> checkGitLastCommitHash(String root) async {
final localCommitHash = await getGitLastCommitHash(root);
final remoteCommitHash = await getGitLastRemoteCommitHash(root);
return localCommitHash == remoteCommitHash;
}