use redirect in curl to avoid pointing directly to codeload.github.com