There is a org.eclipse.jgit.transport.OperationResult#getAdvertisedRefs in jgit. The term seems to be not specific to jgit but I can't find any precise description of the advertised refs.
Best regards, Eugene.
From Transfer Protocols - Downloading Data:
At this point, the fetch-pack process looks at what objects it has and responds with the objects that it needs by sending "want" and then the SHA it wants. It sends all the objects it already has with "have" and then the SHA.
During a fetch, the server can list references that it has and that the client may wish to fetch. These are the advertised references.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With