code: function getCommitSha () {
      try {
          return execSync("git rev-parse HEAD").toString();
      } catch (ignore) {
          console.warn("Failed to get commit sha via git command");
      }
      try {
          return execSync("cat .git/ORIG_HEAD").toString();
      } catch (ignore) {
          console.warn("Failed to get commit sha by reading from ORIG_HEAD");
      }
      return null;
  }
docs: /*
  Utils