public boolean validate(FileEntry gitConfigYaml) {
		for (GitHubConfig config : getAllGithubConfig(gitConfigYaml)) {
			try {
				String configName = config.getName();
				if (configName.length() > CONFIG_NAME_MAX_LENGTH) {
					throw new NGrinderRuntimeException(
						"Invalid github configuration.(" + config.getName() + ")\n" +
						"Configuration name must be shorter than " + CONFIG_NAME_MAX_LENGTH
					);
				}

				GHRepository ghRepository = getGitHubClient(config).getRepository(config.getOwner() + "/" + config.getRepo());
				String branch = config.getBranch();
				if (isNotEmpty(branch)) {
					ghRepository.getBranch(branch);
				}
			} catch (IOException | InvalidGitHubConfigurationException e) {
				Map<String, String> errorJson = parseGitHubConfigurationErrorMessage(e.getMessage());
				throw new InvalidGitHubConfigurationException("Invalid github configuration.(" + config.getName() +")\n" + errorJson.get("message"));
			}
		}
		return true;
	}
get github configuration by name.

@param user user.
@param name configuration name.
@return list of github configuration.
@since 3.5.0
ngrinder-controller/src/main/java/org/ngrinder/script/service/GitHubFileEntryService.java