public static String getRevision() {
    return version != null ? version.revision() : "Unknown";
  }
Get the git revision number for the root directory
@return the revision number, eg. "451451"
common/src/java/org/apache/hive/common/util/HiveVersionInfo.java