Github PR pages crash when you change over 10k files. You're absolutely correct it does not scale for large projects.
Linux open source development:
10,000 lines are added the the linux kernel every day.
200 new developers every release
500+ companies involved
They can scale to these insane numbers because they don’t use github. Some good talks on this:
Discussion
Interesting.