Even better, you could CNAME your custom domain into the *.github.io domain, which is protected by a wildcard https.
So you traffic between CloudFlare and GitHub will also be secured.
So you traffic between CloudFlare and GitHub will also be secured.