You can't actually put the Android source in GitHub because of the 4GB per repo size limit. Niche problem, but shows the scale of things.
There is not a technical limit of 4GB per repo on github.com. maybe a private repo size limit if you are not a paying customer, but it is not a technical limit of the platform, I assure you.
Chromium is also well over the size limit.
That makes sense for GitHub, because what they really care about is the hard drive space you use up, and a repo containing a commit they are already storing for some large project is no additional disk space.