code: public byte[] getRawFileContent(Serializable projectId, String sha, String filepath) throws IOException {
          Query query = new Query()
                  .append("ref", sha);
  
          String tailUrl = GitlabProject.URL + "/" + sanitizeProjectId(projectId) + "/repository/files/" + sanitizePath(filepath) + "/raw" + query.toString();
          return retrieve().to(tailUrl, byte[].class);
      }
docs: Get raw file content
  
  @param projectId The Project
  @param sha       The commit or branch name
  @param filepath  The path of the file
  @throws IOException on gitlab api call error