static @Nullable GitRemote findRemote(@NotNull Collection<GitRemote> remotes, final @NotNull String candidate) {
    return ContainerUtil.find(remotes, remote -> remote.getName().equals(candidate));
  }
static @Nullable GitRemote findRemote(@NotNull Collection<GitRemote> remotes, final @NotNull String candidate)