GitHub might be closed source, but it doesn't matter that much in practice. The code is not where most of its value is. The value is mostly in large community of users and reliable infrastructure.
Also, for me, GitLab's heavy reliance on JavaScript disqualifies it as a serious competitor to GitHub.
Also, for me, GitLab's heavy reliance on JavaScript disqualifies it as a serious competitor to GitHub.