When comparing GitHub with GitLab, Bitbucket, or any other Git platform, there's one quintessential difference.
With that frame of reference, asking if you should use GitHub or another-Git-platform is like asking if you should use Twitter or a diary. Both allow you to record your thoughts, but the interaction with others is fundamentally changed.
GitLab, on the other hand, is not a social platform nor is it just a Git platform. However, as GitLab has evolved, they have mimicked GitHub in their user experience and workflow. For anyone already familiar with GitHub, GitLab was easy to learn. GitLab has focused heavily on the DevOps toolchain in its entirety by offering what they call "Auto DevOps". With GitLab, you can get:
For smaller teams, individual projects, and OSS, price can be a large (if not the most important factor). GitHub offers free public repos as does GitLab. Bitbucket has free private repos as well as build test minutes.
There's definitely even more I could dive into about why people might choose one or the other, but that gives a high level take on the differences.
@Alyss gitlab has also free private repos.
Unlimited private repos
up to 5 users
after the microsoft aquision i would go with gitlab (was going with gitlab already before).
one biiiig plus of gitlab is their transparency. if something goes wrong, they publish nearly every step of their recovery on a public place (status page, twitter and google docs). for me this is much more trustworthy than all the cover up other companies do.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.