If both Github and Bitbucket drop free repos, there's still the option of self hosted Gitlab CE (or Gitlab.com if it doesn't follow suit)
GitLab.com will be free forever, see the statement at the end of https://about.gitlab.com/gitlab-com/
Re:Requiem for GitHub
by hardwaresofton on Sunday February 07, 2016 @11:14PM
(#11056291)
Right -- I was wondering more where I would go for the social aspect.
As much as github is about just hosting code, it's also become a place where people who code/contribute to open source gather -- it doesn't seem right now like someone would just run a gitlab instance big enough to rival what github has become. Maybe the better question is when someone will step up to create that service/meeting ground.
Obviously, bitbucket could decide to do the same shortly after github (as I'm fairly certain they made free repos available to attract github's customers, and free private repos to differentiate). In the case that it does, I'm not sure what I'd do.