The bit.ly shortcut URL will redirect to github. However, curl -O will determine the destination file name by originating URL, not the redirected URL. Therefore, the file will be saved as python-make because it is now allowed to use . in bit.ly.
The -J (--remote-header-name) option does not help, since github will not return with the Content-Disposition response header.