Download new data and update tips.
Convenience function to connect to a remote, download the data, disconnect and update the remote-tracking branches.
If options are specified and this remote is already connected then the existing remote connection options will be discarded and the remote will now use the new options.
the refspecs to use for this fetch. Pass NULL or an empty array to use the base refspecs.
The message to insert into the reflogs. If NULL, the default is "fetch"
0 or an error code