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.