Handle prune option in git fetch