private void commitAndPush(final String message) throws Exception {
        this.gitRepository.commitAll(message);
        if (this.pushChanges) {
            this.gitRepository.push();
        }
    }
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