remote: prune refs when fetching

remote: prune refs when fetching

see also https://github.com/libgit2/libgit2/issues/2576