public static @Nullable GitRemoteBranch findRemoteBranch(@NotNull String remoteBranchName,
                                                           @NotNull String remoteName,
                                                           @NotNull Collection<? extends GitRemoteBranch> remoteBranches) {
    final String branchName = GitBranchUtil.stripRefsPrefix(remoteBranchName);
    return ContainerUtil.find(remoteBranches, branch -> branch.getNameForRemoteOperations().equals(branchName) &&
                                                        branch.getRemote().getName().equals(remoteName));
  }
public static @Nullable GitRemoteBranch findRemoteBranch(@NotNull String remoteBranchName,
                                                           @NotNull String remoteName,
                                                           @NotNull Collection<? extends GitRemoteBranch> remoteBranches)