JGit is not letting me clone all branches to local.
Heres my code which clones the repo.
git = Git.cloneRepository().setURI(repositoryURL) .setCred