public static void addFiles(@NotNull Project project, @NotNull VirtualFile root, @NotNull Collection<? extends VirtualFile> files)
    throws VcsException {
    List<FilePath> paths = ContainerUtil.mapNotNull(files, VcsUtil::getFilePath);
    addPaths(project, root, paths);
  }
public static void addFiles(@NotNull Project project, @NotNull VirtualFile root, @NotNull Collection<? extends VirtualFile> files)