using curl -L for github redirects