@ApiStatus.Obsolete
  public static boolean isUnderGit(@NotNull VirtualFile vFile) {
    try {
      return findGitRootFor(vFile.toNioPath()) != null;
    }
    catch (InvalidPathException e) {
      LOG.warn(e.getMessage());
      return false;
    }
  }
@ApiStatus.Obsolete
  public static boolean isUnderGit(@NotNull VirtualFile vFile)