Handle Github's redirect in the curl example.