public @NotNull GitUpdateResult update() throws VcsException {
    markStart(myRepository);
    try {
      GitUpdateResult result = doUpdate();
      myRepository.update();
      return result;
    }
    finally {
      markEnd(myRepository);
    }
  }
public @NotNull GitUpdateResult update()