class GitManager {

    public String getConfigFileContent(Pipeline pipeline, String version)
            throws GitClientException {
        checkRevision(pipeline, version);
        byte[] configBytes = getPipelineFileContents(pipeline, getRevisionName(version),
                CONFIG_FILE_NAME);
        String config = new String(configBytes, Charset.defaultCharset());
        Assert.notNull(config, "Config.json is empty.");
        return config;
    }

}