BitKeeper is/was a proprietary VCS platform, which enticed in developers by providing a free (gratis) version for FOSS projects. Sound familiar? When the "no reverse-engineering" terms were inevitably broken, access was revoked and many Linux kernel developers who'd come to rely on BitKeeper found themselves out of luck.
Torvalds et al wrote Git to replace the functionality of BitKeeper. Not only did this give those devs who'd come to rely on DVCS something to use (IIRC, Torvalds himself sent/received patches via email; a workflow which is well supported in Git), but it would ensure that no one entity could have too much control over Linux (and other FOSS) development.
Then GitHub came along, a proprietary VCS platform which enticed in developers by providing a free (gratis) version for FOSS projects, and quickly overtook previous alternatives like Gitorious, and became a single entity with too much control over FOSS development.
Whilst I admire GitLab's work, since Gitorious went away I'm reluctant to advocate such a single point of control/failure again. I now host my git repos on my own server[2], with a static HTML interface generated by git2html[3] (with a few tweaks [4]). Patches are welcome by email.
[1] https://en.wikipedia.org/wiki/BitKeeper [2] http://chriswarbo.net/git [3] http://hssl.cs.jhu.edu/~neal/git2html/ [4] http://chriswarbo.net/git/git2html/
These days package managers such as Node's npm/bower, Sublime text packages, PHP's Composer rely on the accessibility of this central place for code access.
I'm worried that without a central place for FOSS code, the community of FOSS projects will fragment and some may become unaccessible when they are needed. Either by running out of hosting funds, getting hacked or becoming unmaintained.
Searching for FOSS projects will become more difficult and it would be harder to get any idea of how often the projects is updated or even how "popular" it is.
Package managers certainly aren't tied to sites like GitHub; for example, I host my own Composer packages ( https://packagist.org/users/warbo/ ). Unfortunately each package does tend to get tied to a particular Web address, but there are sporadic efforts to overcome this (e.g. https://wiki.debian.org/DebTorrent )
If you consider GitHub to be a "central place for FOSS code", which represents the unfragmented community, and serves as the only neccesary search engine and update notification system, then I regret to inform you that you're mistaken. FOSS has been around far longer than GitHub, as has the Web. The community is incredibly fragmented, although pretty much all communicate via a combination of Websites, email, IRC and RSS feeds. GitHub has only ever been a rather recent fragment of this; although it would still be a great loss if all its projects were deleted overnight.
Like everything else on the Web, the current "solutions" are search and archiving on a massive scale. Perhaps P2P technologies like IPFS and magnet links will be (part of) a more scalable alternative going forward.
Edit: On topic: I've been meaning to move to Gitlab but Github still has a strong pull on me. I have a really good profile there which is useful when I look for work, and the barrier of entry to contributing to other open source projects is immeasurably great. Github has actually made open source fun.
The recent developments are extremely worrisome though. I was hoping we'd get some more years from Github before they turn awful... thankfully, the tie-in only goes as far as the profile itself, there are excellent backup[1] and conversion tools which have been recently linked on HN - and of course, there's Gitlab.
It couldn't possibly be because Slack is better than IRC?
I mean, come on. Sometimes there is a better closed-source alternative. I don't know why FOSS attracts these people that think all closed-source software is literally the devil or whatever, but if you're not using the best tool for the job you don't have the best interests of the project at heart. For most use cases, Slack is objectively better than IRC. For a minority, IRC is better.
The dogma from the FOSS community is a large part of why many people are not involved in it at all.
The curse of the growth hacking is this: there's a fixed number of top developers and hackers on this planet. Once you've crossed that number, the next new user's input decreases the signal to noise. This happens everywhere. (not pointing any fingers to not get down votes... :-)
cheers!
I don't want to make a little bit of money every day, I want to make a fucking ton of money all at once ( https://youtu.be/BzAdXyPYKQo?t=57 )
I feel like Gitlab is heavy. Gogs is neat, but incomplete. If you don't need/want bloat, gitolite works well.
[0] gitolite.com