private @Nullable GitRepository getRepository(@NotNull VirtualFile root) {
    return getRepository(myRepositoryManager, root);
  }
private @Nullable GitRepository getRepository(@NotNull VirtualFile root)