public static @NotNull GitPushRepoResult convertFromNative(@NotNull GitPushNativeResult result,
                                                             @NotNull List<? extends GitPushNativeResult> tagResults,
                                                             int commits,
                                                             @NotNull GitPushSource source,
                                                             @NotNull GitRemoteBranch target) {
    List<String> tags = ContainerUtil.map(tagResults, result1 -> result1.getSourceRef());
    return new GitPushRepoResult(convertType(result), commits, source.getRevision(), target.getFullName(),
                                 target.getRemote().getName(), tags, result.getReason(), null);
  }
public static @NotNull GitPushRepoResult convertFromNative(@NotNull GitPushNativeResult result,
                                                             @NotNull List<? extends GitPushNativeResult> tagResults,
                                                             int commits,
                                                             @NotNull GitPushSource source,
                                                             @NotNull GitRemoteBranch target)