docs: public RepositoryFile updateFile(Object projectIdOrPath, RepositoryFile file, String branchName, String commitMessage) throws GitLabApiException {
  
          Form formData = createForm(file, branchName, commitMessage);
          Response response;
          if (isApiVersion(ApiVersion.V3)) {
              response = put(Response.Status.OK, formData.asMap(),
                      "projects", getProjectIdOrPath(projectIdOrPath), "repository", "files");
          } else {
              response = put(Response.Status.OK, formData.asMap(),
                      "projects", getProjectIdOrPath(projectIdOrPath), "repository", "files", urlEncode(file.getFilePath()));
          }
  
          return (response.readEntity(RepositoryFile.class));
      }