Make curl follow github's redirects