Ah, I hadn't tested that.

I first tried the default refSpec ":", but that did not work. I had then added the refSpec refs/heads/*:refs/heads/* which is the current fallback in EGit. Do you think that that is problematic there, too?

So I would just like to add the lookup to the remote config with this change and leave the other issue to another change.