Fix git fetch with query string