Use the new `git_remote_dup` to simplify the code for `Remote#fetch`.