The Best Open Source GitHub AlternativesTop Source Code Hosting Services & Version Control Systems like GitHub

The best open source alternative to GitHub is GitLab. If that doesn't suit you, our users have ranked more than 100 alternatives to GitHub and loads of them is open source so hopefully you can find a suitable replacement. Other interesting open source alternatives to GitHub are Gitea, Codeberg, Gogs and Forgejo.

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
     755 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
     176 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. Codeberg icon
     116 likes

    A free Git source code hosting service with the objective to give the open-source code that is running our world a safe and friendly home, and to ensure that code remains free and secure forever.

    50 Codeberg alternatives

    Cost / License

    • Free
    • Open Source

    Platforms

    • Online
     
    |
    6
  4. 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.

    Cost / License

    • Free
    • Open Source (MIT)

    Platforms

    • Mac
    • Windows
    • Linux
    • Self-Hosted
    • Go (Programming Language)
    • Cloudron
     
    |
    2
  5. Forgejo icon
     60 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
  6. GitBucket icon
     52 likes

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

    61 GitBucket alternatives

    Cost / License

    Platforms

    • Mac
    • Windows
    • Linux
    • Online
    • Self-Hosted
    • Scala
     
    |
    1
  7. 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.

    20 SourceHut alternatives

    Cost / License

    • Freemium
    • Open Source

    Platforms

    • Online
    • Self-Hosted
    • Software as a Service (SaaS)
     
    |
    2
  8. Launchpad icon
     110 likes

    Launchpad is a collaboration and Bazaar code hosting platform for (primarily open-source) software projects.

    Cost / License

    • Free
    • Open Source

    Platforms

    • Online
    • Python
     
    |
    2
  9. Radicle icon
     17 likes

    Peer-to-peer, open source stack built on Git enables decentralized, censorship-resistant code sharing and local-first data control, employing cryptographic verification, extensible collaborative objects, modular interfaces, and seamless data migration with no central entity.

    Cost / License

    • Free
    • Open Source

    Platforms

    • Mac
    • Linux
     
    |
    1
  10. 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.

    Cost / License

    • Free
    • Open Source

    Platforms

    • Mac
    • Windows
    • Linux
    • Online
    • BSD
    • Self-Hosted
     
    |
    2
  11. DioHub icon
     6 likes

    DioHub is an open-source unofficial GitHub mobile client, that aims to deliver the ultimate GitHub experience on mobile devices.

    Cost / License

    Application type

    Platforms

    • Android
    • Android Tablet
     
12 of 58 GitHub alternatives