Create a copy of an existing remote. All internal strings are also duplicated. Callbacks are not duplicated.
Call git_remote_free to free the data.
git_remote_free
pointer where to store the copy
object to copy
0 or an error code