If that were to happen, why would anyone buy Github enterprise or even pay for a pro account? Their business model relies on closed source for their proprietary code.
They could still sell support. The "open source, closed addons, paying support" business model can work great (Red Hat, VMWare, certain Oracle products...).