public GitHub getGitHubClient(GitHubConfig gitHubConfig) {
		String baseUrl = getGitHubBaseUrl(gitHubConfig);
		String accessToken = gitHubConfig.getAccessToken();

		GitHubBuilder gitHubBuilder = new GitHubBuilder().withRateLimitHandler(rateLimitHandlerEx);

		if (isNotEmpty(baseUrl)) {
			gitHubBuilder.withEndpoint(baseUrl);
		}

		if (isNotEmpty(accessToken)) {
			gitHubBuilder.withOAuthToken(accessToken);
		}

		try {
			return gitHubBuilder.build();
		} catch (IOException e) {
			log.error("Fail to creation of github client from {}", gitHubConfig, e);
			Map<String, String> errorJson = parseGitHubConfigurationErrorMessage(e.getMessage());
			throw new InvalidGitHubConfigurationException("Fail to creation of github client.\n" + errorJson.get("message"));
		}
	}
Create GitHub client from {@link GitHubConfig}.

@since 3.5.0
ngrinder-controller/src/main/java/org/ngrinder/script/service/GitHubFileEntryService.java