From Git SCM Wiki

Public Git hosting sites

Here are some places that provide free Git hosting. Check on GitServer if you want to host your own repository.

List is limited to sites that provide explicit Git hosting, not including generic hosting sites that can be used to host Git repositories.

Provider Framework is open-source? Support for other SCM Open-source repositories Space (GB) Free private repositories Beanstalk No SVN No 0.1 1 projects, 1 user bitbucket.org No Mercurial Yes ∞ ∞ projects, 5 collaborators Codebase No Mercurial/SVN Public access available 0.05 1 project (unlimited repos), 2 collaborators Codeberg Yes No Yes ∞ ∞ Helix TeamHub No Mercurial/SVN No 1 ∞ projects, 5 users GitHub No SVN Yes ∞ ∞ projects, 3 collaborators GitLab.com Yes No Yes ∞ ∞ projects, ∞ collaborators Pikacode No Mercurial Yes 1 No ProjectLocker No SVN Read-only http 0.05 1 project, 1 collaborators repo.or.cz Yes No Yes 0.4 No RocketGit Yes No Yes ∞ ∞ SourceForge.net Yes Hg, SVN Yes ∞ No Unfuddle No SVN Yes 0.2 1 project, 2 collaborators Visual Studio Team Services No TFVC No ∞ ∞, 5 users

General software

Those are public Git hosting sites where any project can be hosted, perhaps with exception to requirements for license used (some hosting sites require project to be open source or free software).