code: public String getRef() {
          if (refName != null) {
              if (!refName.startsWith("refs/")) {
                  return REFS_HEADS + refName;
              }
              return refName;
          }
          return null;
      }
docs: Returns the ref (refspec) representing this RefUpdate.
  @return the ref