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 Codeberg, Gogs, Forgejo and Gitea.

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, 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. Codeberg icon
     139 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.

    59 Codeberg alternatives

    Cost / License

    • Free
    • Open Source

    Application type

    Platforms

    • Online
    Good alternative?
     
    |
    7
  3. 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
  4. 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
  5. 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
  6. GitHub Desktop icon
     172 likes

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

    71 GitHub Desktop alternatives

    Cost / License

    • Free
    • Open Source (MIT)

    Application type

    Platforms

    • Mac
    • Windows
    Good alternative?
     
    |
    1
  7. 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
  8. 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
  9. Radicle icon
     22 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

    Application type

    Platforms

    • Mac
    • Linux
    Good alternative?
     
    |
    1
  10. 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
  11. 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

    Platforms

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

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

    101 Launchpad alternatives

    Cost / License

    • Free
    • Open Source

    Application type

    Platforms

    • Online
    • Python
    Good alternative?
     
    |
    2
12 of 63 GitHub alternatives