private static String getBranchPath(final String branchName) {
        return "refs/heads/" + branchName;
    }
This is {@link GitRepositoryBuilder}.

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