Get a copy of the remote connect options
All data is copied and must be freed by the caller by calling git_remote_connect_options_dispose.
git_remote_connect_options_dispose
options struct to fill
the transport to extract the data from.
0 on success, or an error code