public static @NotNull <T extends GitHandler> T createHandlerWithPaths(@Nullable Collection<? extends FilePath> paths,
                                                                         @NotNull Computable<T> handlerBuilder) {
    T handler = handlerBuilder.compute();
    handler.endOptions();
    if (paths != null) {
      handler.addRelativePaths(paths);
      if (handler.isLargeCommandLine()) {
        handler = handlerBuilder.compute();
        handler.endOptions();
      }
    }
    return handler;
  }
public static @NotNull <T extends GitHandler> T createHandlerWithPaths(@Nullable Collection<? extends FilePath> paths,
                                                                         @NotNull Computable<T> handlerBuilder)