I can't find the blog post, but some blog wrote a while ago why VCs invest in companies like Github. TL;DR -- basically it provides infrastructure for other startups. The business itself may not be a great business due to the amount of cost it takes to run it -- but it's necessary for the running of other ventures. Sort of like highways and non-toll bridges.
Whoa. Dumb money, those VCs, if this is true. A scrappy low-budget startup can do just fine with a medium sized vm on one of the several places renting vms, running a simple source code control system server. Blowing dozens of megabucks to build a palace in a high-rent district to replace something that's close to free seems, well, dumb.
I suspect they see it as a charity case, if true.