In my case, github failed when I was connected to a VPN. On disconnecting my VPN and then killing and rerunning the clone again it worked
Lots of sites seem to dislike bitdefender VPN servers