@Override
  public @Nullable VcsRevisionDescription getCurrentRevisionDescription(final VirtualFile file) {
    if (file.isDirectory()) {
      return null;
    }
    try {
      return GitHistoryUtils.getCurrentRevisionDescription(myProject, VcsUtil.getFilePath(file));
    }
    catch (VcsException e) {
      return null;
    }
  }
@Override
  public @Nullable VcsRevisionDescription getCurrentRevisionDescription(final VirtualFile file)