I was wondering hows it would be possible to list all the branches of a remote Git repo with jgit but without cloning it.
While going through the jgit's javadoc, I found the ListBranchCommand but that only seem to work with an already opened Repository object. But I was not able to find how to create a Repository object over HTTP without cloning it in local.
Is it possible ? Thanks