private static @NotNull String getFetchSpecForBranch(@NotNull String branch, @NotNull String remoteName) {
    branch = getRidOfPrefixIfExists(branch);
    return REFS_HEADS_PREFIX + branch + ":" + REFS_REMOTES_PREFIX + remoteName + "/" + branch;
  }
private static @NotNull String getFetchSpecForBranch(@NotNull String branch, @NotNull String remoteName)