docs: public Optional<Commit> getOptionalCommit(Object projectIdOrPath, String sha) {
          try {
              return (Optional.ofNullable(getCommit(projectIdOrPath, sha)));
          } catch (GitLabApiException glae) {
              return (GitLabApi.createOptionalFromException(glae));
          }
      }