yeah you could setup the github ssl as per their instructions, then put cloudflare in front of it.
See their options here
https://support.cloudflare.com/hc/en-us/articles/200170416-W...I was previously using the partial ssl option and am quite happy that I don't have to continue with this pseudo ssl that has an unsecure link.