Add a remote with the provided fetch refspec (or default if null) to the repository's configuration.
the resulting remote
the repository in which to create the remote
the remote's name
the remote's url
the remote fetch value
0, git_error_code.GIT_EINVALIDSPEC, git_error_code.GIT_EEXISTS or an error code
See Implementation
Add a remote with the provided fetch refspec (or default if null) to the repository's configuration.