Github however is profitable and has a proven, functional business model. Github is absolutely not fighting a losing game, because they're providing a service companies obviously desperately want to outsource (thus the mass usage). Providing that service in a secure manner is worth a lot of money, as Github is protecting something extraordinarily valuable.