Get the remote repository's object format.
The remote (or more exactly its transport) must have connected to the remote repository. This format is available as soon as the connection to the remote is initiated and stays connected.
0 on success, or an error code