private Set<GitHubConfig> getAllGithubConfig(FileEntry gitConfigYaml) {
		Set<GitHubConfig> gitHubConfig = new HashSet<>();
		// Yaml is not thread safe. so create it every time.
		Yaml yaml = new Yaml(new SafeConstructor());
		Iterable<Map<String, String>> gitConfigs = cast(yaml.loadAll(gitConfigYaml.getContent()));
		for (Map<String, String> configMap : gitConfigs) {
			if (configMap == null) {
				continue;
			}
			GitHubConfig config = objectMapper.convertValue(configMap, GitHubConfig.class);
			config.setRevision(String.valueOf(gitConfigYaml.getRevision()));

			if (gitHubConfig.contains(config)) {
				throw new InvalidGitHubConfigurationException("GitHub configuration '"
					+ config.getName() + "' is duplicated.\nPlease check your .gitconfig.yml");
			}

			gitHubConfig.add(config);
		}
		return gitHubConfig;
	}
get all github configuration of {@link User}.

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