@ApiStatus.Internal
  public static @Nullable Pair<String, String> parseBranchesLine(@NotNull String line) {
    var parsedRef = parseRefsLine(line);
    if (parsedRef == null) {
      return null;
    }
    var branch = parsedRef.first;
    if (!branch.startsWith(REFS_HEADS_PREFIX) && !branch.startsWith(REFS_REMOTES_PREFIX)) {
      return null;
    }
    return parsedRef;
  }
@ApiStatus.Internal
  public static @Nullable Pair<String, String> parseBranchesLine(@NotNull String line)