Self-Hosted GitHub Alternatives

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 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 many of them are available as a self-hosted solution so hopefully you can find a suitable replacement. Other interesting Self-Hosted alternatives to GitHub are Gitea, Gogs, Forgejo and GitBucket.

filter to find the best alternatives

GitHub alternatives are mainly Source Code Hosting Services, but if you're looking for Version Control Systems 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
     759 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
  2. Gitea icon
     178 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
  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
  4. Forgejo icon
     62 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
  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
  6. SourceHut icon
     23 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)
     
    |
    2
  7. Trac icon
     146 likes

    Trac is an enhanced wiki and issue tracking system for software development projects. Trac uses a minimalistic approach to web-based software project management. Our mission is to help developers write great software while staying out of the way.

    157 Trac alternatives

    Cost / License

    • Free
    • Open Source

    Platforms

    • Mac
    • Windows
    • Linux
    • Online
    • BSD
    • Self-Hosted
     
    |
    2
  8. 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
     
  9.  5 likes

    sr.ht is is the hosted instance of SourceHut and provides paid services to its users.

    Cost / License

    • Freemium
    • Open Source

    Platforms

    • Self-Hosted
     
    |
    1
  10. 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.

    Cost / License

    • Free
    • Open Source

    Platforms

    • Mac
    • Windows
    • Linux
    • BSD
    • Self-Hosted
     
  11. Tuleap icon
     49 likes

    Tuleap is the first fully libre and open source software (GPL licence) for Enterprise Application Lifecycle Management. Tuleap is provided by the Enalean company and the community members.

    Cost / License

    • Freemium
    • Proprietary

    Platforms

    • Linux
    • Self-Hosted
    • Software as a Service (SaaS)
     
12 of 38 GitHub alternatives