code: public Commit createCommit(Object projectIdOrPath, String branch, String commitMessage, String startBranch,
              String authorEmail, String authorName, List<CommitAction> actions) throws GitLabApiException {
  
          CommitPayload payload = new CommitPayload();
          payload.setBranch(branch);
          payload.setCommitMessage(commitMessage);
          payload.setStartBranch(startBranch);
          payload.setAuthorEmail(authorEmail);
          payload.setAuthorName(authorName);
          payload.setActions(actions);
  
          Response response = post(Response.Status.CREATED, payload, "projects", getProjectIdOrPath(projectIdOrPath), "repository", "commits");
          return (response.readEntity(Commit.class));
      }
docs: Create a commit with multiple files and actions.
  
  <pre><code>GitLab Endpoint: POST /projects/:id/repository/commits</code></pre>
  
  @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance
  @param branch tame of the branch to commit into. To create a new branch, also provide startBranch
  @param commitMessage the commit message
  @param startBranch the name of the branch to start the new commit from
  @param authorEmail the commit author's email address
  @param authorName the commit author's name
  @param actions the array of CommitAction to commit as a batch
  @return the create Commit instance
  @throws GitLabApiException if any exception occurs during execution