I am trying to download a tarball from GitHub using cURL, but it does not seem to be redirecting:
$ curl --insecure https://github.com/pinard/Pymacs/tarball/
Use the -L option to follow redirects:
-L
curl -L https://github.com/pinard/Pymacs/tarball/v0.24-beta2 | tar zx