GitHub AlternativesOnly Self-Hosted apps categorised as Version Control Systems

GitHub is not available as a self-hosted solution but there are plenty of alternatives for power users and business that want to host a solution on-premise. The best Self-Hosted Version Control System alternative is GitLab, which is both free and Open Source. If that doesn't suit you, our users have ranked more than 100 alternatives to GitHub and 17 are Version Control Systems available as a self-hosted solution so hopefully you can find a suitable replacement. Other interesting Self-Hosted Version Control System alternatives to GitHub are Gitea, Gogs, Forgejo and GitBucket.

filter to find the best alternatives

GitHub alternatives are mainly Version Control Systems, but if you're looking for Source Code Hosting Services or Issue Tracking Systems you can filter on that. Other popular filters include Europe, Self-Hosted, EU, Open Source, Free + Source Code Hosting and Android. You can also filter by region, for example EU-based alternatives if you prefer software developed in the European Union. These are just examples - use the filter bar below to find more specific alternatives to GitHub.
Copy a direct link to this comment to your clipboard
GitHub alternatives page was last updated

Alternatives list

  1. GitLab icon
     754 likes

    Provides a robust platform for on-premise or hosted Git repository management, integrating seamlessly with various dev tools, facilitating efficient workflow through offerings like issue tracking, code reviews, continuous integration, CI/CD pipelines, and option for unlimited private repositories.

    113 GitLab alternatives

    Cost / License

    • Freemium
    • Open Source

    Platforms

    • Linux
    • Online
    • BSD
    • Self-Hosted
    • Ruby
    • Cloudron
     
    |
    21
    GitLab vs GitHub Comments
    Top Positive Comment
    milkdoes
    7

    No limit on collaborators of private repositories.

    soul1472
    Positive
    0

    Gitlab is better than Github if you don't mind it having "AI", too.

    Guest
    Positive
    1

    Not controlled by the privacy-hostile (many times) convicted felon Microsoft.

    Review by a new / low-activity user.
    3 of 21 comments
    • GitLab is Freemium and Open SourceGitHub is Freemium and Proprietary
    • GitLab is Security-focusedGitHub is not according to our users
  2. Gitea icon
     177 likes

    Gitea is a fork of Gogs, lightweight code hosting solution written in Go and published under the MIT license.

    46 Gitea alternatives

    Cost / License

    • Freemium
    • Open Source (MIT)

    Platforms

    • Mac
    • Windows
    • Linux
    • Online
    • BSD
    • Self-Hosted
    • Raspberry Pi
    • Cloudron
    • Chocolatey
     
    |
    6
    Gitea vs GitHub Comments
    Top Positive Comment
    6543
    7

    gitea v1.9.4 and newer has all features you want and know from github ... but selfhosted and lightweight! And if there is one feature missiong its sure on a list

    Pierre LeBaux
    Positive
    0

    Self-hosted, simple, great.

    Freeplay
    Positive
    3

    You can run your own instance, but you can use other instances like Codeberg as well!

    3 of 6 comments
    • Gitea is Freemium and Open SourceGitHub is Freemium and Proprietary
    • Gitea is Lightweight, Privacy focused and Security-focusedGitHub is not according to our users
  3. Gogs icon
     137 likes

    The easiest, fastest, and most painless way of setting up a self-hosted Git service. With Go, this can be done with an independent binary distribution across ALL platforms that Go supports, including Linux, Mac OS X, Windows and ARM.

    42 Gogs alternatives

    Cost / License

    • Free
    • Open Source (MIT)

    Platforms

    • Mac
    • Windows
    • Linux
    • Self-Hosted
    • Go (Programming Language)
    • Cloudron
     
    |
    2
    Gogs vs GitHub Comments
    Guest
    Positive
    0

    Self-hosted and really light weight. Installs on docker in just a few minutes. Super excellent!

    Review by a new / low-activity user.
    petardudas
    Positive
    0

    It's very simple to set up.

    Review by a new / low-activity user.
    • Gogs is Free and Open SourceGitHub is Freemium and Proprietary
    • Gogs is LightweightGitHub is not according to our users
  4. Forgejo icon
     58 likes

    Beyond coding. We forge. Forgejo is a self-hosted lightweight software forge. Easy to install and low maintenance, it just does the job.

    54 Forgejo alternatives

    Cost / License

    Platforms

    • Self-Hosted
    • Go (Programming Language)
    • Cloudron
     
    |
    1
    Forgejo vs GitHub Comments
    Subscribe6225
    Positive
    1

    Open Source, European, Self-hosted

    • Forgejo is Free and Open SourceGitHub is Freemium and Proprietary
    • Forgejo is Lightweight, Privacy focused, Decentralized and CustomizableGitHub is not according to our users
  5. GitBucket icon
     52 likes

    GitBucket is the easily installable open-source GitHub clone written with Scala.

    Cost / License

    Platforms

    • Mac
    • Windows
    • Linux
    • Online
    • Self-Hosted
    • Scala
     
    |
    1
    GitBucket vs GitHub Comments
    kounoike
    Positive
    3

    GitBucket has most powerful API compatibility to GitHub.com/GitHubEnterprise!

    • GitBucket is Free and Open SourceGitHub is Freemium and Proprietary
    • GitBucket is Privacy focusedGitHub is not according to our users
  6. SourceHut icon
     22 likes

    sourcehut is a network of useful open source tools for software project maintainers and collaborators, including git repos, bug tracking, continuous integration, and mailing lists.

    Cost / License

    • Freemium
    • Open Source

    Platforms

    • Online
    • Self-Hosted
    • Software as a Service (SaaS)
     
    |
    1
    SourceHut vs GitHub Comments
    Guest
    Positive
    1

    Minimal but usable, perfectly lightweight

    Review by a new / low-activity user.
    • SourceHut is Freemium and Open SourceGitHub is Freemium and Proprietary
    • SourceHut is Privacy focused and LightweightGitHub is not according to our users
  7. Phorge icon
     7 likes

    Phorge is an open source, community driven platform for collaborating, managing, organizing and reviewing software development projects.

    Cost / License

    Platforms

    • Online
    • Self-Hosted
    • Linux
    • FreeBSD
    • Solaris
     
  8. Mantis Bug Tracker is a free and open source, web-based bug tracking system. It is written in the PHP scripting language and works with MySQL, MS SQL, and PostgreSQL databases and a webserver. MantisBT can be installed on Windows, Linux, Mac OS, OS/2, and others.

    99 Mantis Bug Tracker alternatives

    Cost / License

    • Free
    • Open Source

    Platforms

    • Mac
    • Windows
    • Linux
    • BSD
    • Self-Hosted
     
  9. RhodeCode icon
     25 likes

    Fast and powerful management tool for SVN, Mercurial, and GIT with a built in push/pull server and full text search and code-review. It works on http/https and has a built in permission/authentication system with the ability to authenticate via LDAP or ActiveDirectory.

    Cost / License

    Platforms

    • Self-Hosted
    • Online
    • Software as a Service (SaaS)
     
  10. cgit icon
     17 likes

    A hyperfast web frontend for git repositories written in C.

    Cost / License

    • Free
    • Open Source

    Platforms

    • Mac
    • Linux
    • Online
    • Self-Hosted
     
  11. GNU Savannah icon
     4 likes

    GNU Savannah is a project of the Free Software Foundation, which serves as a collaborative software development management system for free Software projects.

    Cost / License

    • Free
    • Open Source

    Platforms

    • Online
    • Self-Hosted
     
12 of 17 GitHub alternatives