Follow redirects when curling github