Get the remote's list of fetch refspecs
The memory is owned by the user and should be freed with git_strarray_free.
git_strarray_free
pointer to the array in which to store the strings
the remote to query
0 or an error code.