code: public String getDisplayName() {
          String gitHubName = getName();
          boolean isGitHubCom = StringUtils.isBlank(apiUrl) || GITHUB_URL.equals(apiUrl);
          if (StringUtils.isBlank(gitHubName)) {
              gitHubName = isGitHubCom ? PUBLIC_GITHUB_NAME : SCMName.fromUrl(apiUrl, COMMON_PREFIX_HOSTNAMES);
          }
          String gitHubUrl = isGitHubCom ? "https://github.com" : StringUtils.removeEnd(apiUrl, "/api/v3");
          return StringUtils.isBlank(gitHubName)
                  ? gitHubUrl
                  : Messages.GitHubServerConfig_displayName(gitHubName, gitHubUrl);
      }
docs: Gets the formatted display name (which will always include the api url)
  
  @return the formatted display name.
  @since 1.28.0