Create a remote in memory
Create a remote with the default refspecs in memory. You can use this when you have a URL instead of a remote's name.
pointer to the new remote object
the associtated repository
the remote repository's URL
the remote's name
GIT_SUCCESS or an error code