Get the information for a particular remote
pointer to the new remote object
the repository's configuration
the remote's name
0 on success; error value otherwise