public GitHubConfig getGitHubConfig(User user, String name) throws FileNotFoundException {
		Set<GitHubConfig> gitHubConfigs = getAllGitHubConfig(user);
		Optional<GitHubConfig> gitHubConfigOptional = gitHubConfigs.stream()
			.filter(config -> StringUtils.equals(config.getName(), name))
			.findFirst();

		if (!gitHubConfigOptional.isPresent()) {
			throw new InvalidGitHubConfigurationException("GitHub configuration(" + name + ") is not exist");
		}
		return gitHubConfigOptional.get();
	}
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