public static @Nullable VirtualFile getVcsRootFor(@NotNull Project project, @Nullable VirtualFile file) {
    return computeValue(project, manager -> manager.getVcsRootFor(file));
  }
public static @Nullable VirtualFile getVcsRootFor(@NotNull Project project, @Nullable VirtualFile file)