Add a remote with the default fetch refspec to the repository's configuration. This calls git_remote_save before returning.
the resulting remote
the repository in which to create the remote
the remote's name
the remote's url
0, GIT_EINVALIDSPEC, GIT_EEXISTS or an error code