public static @NotNull Hash write(@NotNull GitRepository repository,
                                    @NotNull FilePath filePath,
                                    byte @NotNull [] bytes,
                                    boolean executable) throws VcsException {
    return write(repository, filePath, new ByteArrayInputStream(bytes), executable);
  }
public static @NotNull Hash write(@NotNull GitRepository repository,
                                    @NotNull FilePath filePath,
                                    byte @NotNull [] bytes,
                                    boolean executable)