Get a list of refs at the remote
The remote (or more exactly its transport) must be connected. The memory belongs to the remote.
the remote
0 or an error code