Open Source GitHub AlternativesTop Version Control Systems & Source Code Hosting Services 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 are open source so hopefully you can find a suitable replacement. Other interesting open source alternatives to GitHub are Codeberg, Forgejo, Gitea and GitHub Desktop.

filter to find the best alternatives

Most GitHub alternatives are Version Control Systems, but you can also narrow the list to Source Code Hosting Services or Issue Tracking Systems. Other popular filters are Europe, Open Source, Self-Hosted, Android and EU. You can also filter for EU-based alternatives if you prefer software from the European Union.
Copy a direct link to this comment to your clipboard
Alternatives
GitHub alternatives page was last updated

Alternatives list

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

    141 GitLab alternatives

    Cost / License

    • Freemium (Subscription)
    • Open Source

    Application type

    Since

    • Since 2011

    Platforms

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

    Cost / License

    • Free
    • Open Source

    Application type

    Since

    • Since 2019

    Platforms

    • Online
    Good alternative?
     
    |
    7
  3. Forgejo icon
     88 likes

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

    66 Forgejo alternatives

    Cost / License

    Application type

    Since

    • Since 2023

    Platforms

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

    Private, Fast, Reliable DevOps Platform. A self-hosted DevOps platform that gives teams and developers high-efficiency, easy-to-run operations from planning to production. Gitea is a fork of Gogs.

    60 Gitea alternatives

    Cost / License

    • Freemium (Subscription)
    • Open Source (MIT)

    Application type

    Since

    • Since 2016 (updated Nov 2026)

    GitHub

    • GitHub stars: 59.2k

    Platforms

    • Windows
    • Mac
    • Linux
    • BSD
    • Online
    • Self-Hosted
    • Raspberry Pi
    • Cloudron
    • Chocolatey
    • US flagUnited States
    Gitea screenshot 1
    Gitea screenshot 4
    +3
    Gitea screenshot 6
    Good alternative?
     
    |
    6
  5. GitHub Desktop icon
     180 likes

    GitHub Desktop is a native Git client for Mac OS X and Windows with a graphical user interface.

    86 GitHub Desktop alternatives

    Cost / License

    • Free
    • Open Source (MIT)

    Application type

    Since

    • Since 2012 (updated Nov 2026)

    GitHub

    • GitHub stars: 22.2k

    Platforms

    • Windows
    • Mac
    Good alternative?
     
    |
    1
  6. Gogs icon
     142 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)

    Application type

    Since

    • Since 2014 (updated Nov 2026)

    GitHub

    • GitHub stars: 48k

    Platforms

    • Windows
    • Mac
    • Linux
    • Self-Hosted
    • Cloudron
    • Go (Programming Language)
    Good alternative?
     
    |
    2
  7. SourceHut icon
     32 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 (Subscription)
    • Open Source

    Application type

    Since

    • Since 2020

    Platforms

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

    83 Radicle alternatives

    Cost / License

    • Free
    • Open Source

    Application type

    Since

    • Since 2019

    Platforms

    • Mac
    • Linux
    Good alternative?
     
    |
    1
  9. GitBucket icon
     55 likes

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

    Cost / License

    Application type

    Since

    • Since 2014 (updated Nov 2026)

    GitHub

    • GitHub stars: 9.4k

    Platforms

    • Windows
    • Mac
    • Linux
    • Online
    • Self-Hosted
    • Scala
    Good alternative?
     
    |
    1
  10. gitdot icon
     5 likes

    Open-source platform focused on quality for developers, featuring a highly performant Git server written in Rust, code review with stacked diffs, and a secure, locally testable, and reproducible CI/CD system. Avoids unnecessary AI, encourages code craftsmanship.

    Cost / License

    Application type

    Since

    • Since 2026

    Platforms

    • Windows
    • Mac
    • Linux
    • BSD
    • Online
    • Rust
    • Homebrew
    Good alternative?
     
  11. Launchpad icon
     112 likes

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

    Cost / License

    Application type

    Since

    • Since 2009

    Platforms

    • Online
    • Python
    Good alternative?
     
    |
    2
  12. 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.

    Cost / License

    • Free
    • Open Source

    Application type

    Since

    • Since 2009

    Platforms

    • Windows
    • Mac
    • Linux
    • BSD
    • Online
    • Self-Hosted
    Good alternative?
     
    |
    2
12 of 69 GitHub alternatives