@Override
  public boolean isRoot(@NotNull VirtualFile path) {
    return path.findChild(GitUtil.DOT_GIT) != null && // fast check without refreshing the VFS
           GitUtil.isGitRoot(path.toNioPath());
  }
@Override
  public boolean isRoot(@NotNull VirtualFile path)