private Optional<File> locateExistingRegisteredServiceFile(final RegisteredService registeredService) {
        return registeredServiceLocators.stream()
            .map(locator -> locator.locate(registeredService))
            .filter(Optional::isPresent)
            .map(Optional::get)
            .findFirst();
    }
This is {@link GitServiceRegistry}.

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