Revert "Merge pull request #2569 from fuadsaud/github-https"

This reverts commit e2a5d3b90d8c1d685acc6d1a9d9cc3488b2c1a61, reversing
changes made to 435307266d75c82e7601f39551b0b707c58dc9a4.

fixes #2600