GitHub isn't open source, but maybe GitLab (ignoring that it wouldn't be totally analogous to Red Hat, which doesn't do "open core" with proprietary "enterprise" versions, though IIRC it did try that a couple times in past.)
Clearly Red Hat should buy GitLab and make it 100% open source. :)