@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @ConditionalOnMissingBean(name = "gitServiceRegistryRepositoryInstance")
    public GitRepository gitServiceRegistryRepositoryInstance(
        final CasConfigurationProperties casProperties) {
        val registry = casProperties.getServiceRegistry().getGit();
        return GitRepositoryBuilder.newInstance(registry).build();
    }
This is {@link CasGitServiceRegistryAutoConfiguration}.

@author Misagh Moayyed
@since 6.1.0
support/cas-server-support-git-service-registry/src/main/java/org/apereo/cas/config/CasGitServiceRegistryAutoConfiguration.java