private static @Nullable Remote parseRemoteSection(@NotNull String sectionName,
                                                     @NotNull Profile.Section section) {
    Matcher matcher = REMOTE_SECTION.matcher(sectionName);
    if (matcher.matches() && matcher.groupCount() == 1) {
      List<String> fetch = ContainerUtil.notNullize(section.getAll("fetch"));
      List<String> push = ContainerUtil.notNullize(section.getAll("push"));
      List<String> url = ContainerUtil.notNullize(section.getAll("url"));
      List<String> pushurl = ContainerUtil.notNullize(section.getAll("pushurl"));
      return new Remote(matcher.group(1), fetch, push, url, pushurl);
    }
    return null;
  }
private static @Nullable Remote parseRemoteSection(@NotNull String sectionName,
                                                     @NotNull Profile.Section section)