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 Gogs, Forgejo, Gitea 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, Open Source, Free + Source Code Hosting, Android and EU. 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
Alternatives
Get a badge for your siteGitHub alternatives page was last updated

Alternatives list

  1. GitLab icon
     779 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.

    127 GitLab alternatives

    Cost / License

    • Freemium
    • Open Source

    Application type

    Platforms

    • Linux
    • Online
    • BSD
    • Self-Hosted
    • Ruby
    • Cloudron
    • US flagUnited States
    Activity stream
    Good alternative?
     
    |
    21
  2. Gogs icon
     141 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.

    49 Gogs alternatives

    Cost / License

    • Free
    • Open Source (MIT)

    Application type

    Platforms

    • Mac
    • Windows
    • Linux
    • Self-Hosted
    • Go (Programming Language)
    • Cloudron
    Good alternative?
     
    |
    2
  3. Forgejo icon
     74 likes

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

    Cost / License

    Application type

    Platforms

    • Self-Hosted
    • Go (Programming Language)
    • Cloudron
    Good alternative?
     
    |
    1
  4. Gitea icon
     185 likes

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

    54 Gitea alternatives

    Cost / License

    • Freemium
    • Open Source (MIT)

    Application type

    Platforms

    • Mac
    • Windows
    • Linux
    • Online
    • BSD
    • Self-Hosted
    • Raspberry Pi
    • Cloudron
    • Chocolatey
    • US flagUnited States
    Gitea screenshot 1
    Good alternative?
     
    |
    6
  5. GitBucket icon
     54 likes

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

    Cost / License

    Application type

    Platforms

    • Mac
    • Windows
    • Linux
    • Online
    • Self-Hosted
    • Scala
    Good alternative?
     
    |
    1
  6. SourceHut icon
     30 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

    Application type

    Platforms

    • Online
    • Self-Hosted
    • Software as a Service (SaaS)
    Good alternative?
     
    |
    2
  7. Trac icon
     147 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.

    163 Trac alternatives

    Cost / License

    • Free
    • Open Source

    Application type

    Platforms

    • Mac
    • Windows
    • Linux
    • Online
    • BSD
    • Self-Hosted
    Good alternative?
     
    |
    2
  8. Phorge icon
     8 likes

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

    Cost / License

    Application type

    Platforms

    • Linux
    • Online
    • Self-Hosted
    • Oracle Solaris
    • FreeBSD
    Good alternative?
     
  9. Tuleap icon
     48 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

    Application type

    Platforms

    • Linux
    • Self-Hosted
    • Software as a Service (SaaS)
    Good alternative?
     
  10. Tangled icon
     5 likes

    Tangled is a new social-enabled Git collaboration platform, built on top of the AT Protocol. We envision a place where developers have complete ownership of their code, open source communities can freely self-govern and most importantly, coding can be social and fun again.

    Cost / License

    • Free
    • Open Source (MIT)

    Application type

    Platforms

    • Online
    • Self-Hosted
    Good alternative?
     
  11.  6 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
    • NL flagNetherlands
    • European Union flagEU
    sr.ht screenshot 1
    Good alternative?
     
    |
    1
  12. 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.

    103 Mantis Bug Tracker alternatives

    Cost / License

    • Free
    • Open Source

    Application type

    Platforms

    • Mac
    • Windows
    • Linux
    • BSD
    • Self-Hosted
    Good alternative?
     
12 of 40 GitHub alternatives