private static @NotNull GitCommand readOptional(@NotNull @NonNls String name) {
    return new GitCommand(name, LockingPolicy.READ_OPTIONAL_LOCKING);
  }
private static @NotNull GitCommand readOptional(@NotNull @NonNls String name)