@Override
  public @Nullable VcsFileRevision getLastRevision(FilePath filePath) throws VcsException {
    List<VcsFileRevision> history = GitFileHistory.collectHistory(myProject, filePath, "--max-count=1");
    if (history.isEmpty()) return null;
    return history.get(0);
  }
@Override
  public @Nullable VcsFileRevision getLastRevision(FilePath filePath)