Create a remote in memory
Create a remote with the given refspec in memory. You can use this when you have a URL instead of a remote's name. Note that in-memory remotes cannot be converted to persisted remotes.
The name, when provided, will be checked for validity.
See git_tag_create()
for rules about valid names.
the fetch refspec to use for this remote. May be NULL for defaults.
the remote repository's URL
0 or an error code