@Override
    public void commitAll(final String message) throws Exception {
        gitInstance.add().addFilepattern(".").call();
        val config = gitInstance.getRepository().getConfig();
        val name = StringUtils.defaultIfBlank(config.getString("user", null, "name"), "CAS");
        val email = StringUtils.defaultIfBlank(config.getString("user", null, "email"), "cas@apereo.org");
        gitInstance.commit()
            .setMessage(message)
            .setAll(true)
            .setSign(signCommits)
            .setAuthor(name, email)
            .call();
    }
This is {@link DefaultGitRepository}.

@author Misagh Moayyed
@since 6.1.0
support/cas-server-support-git-core/src/main/java/org/apereo/cas/git/DefaultGitRepository.java