14 alternatives to GitHub

GitHub is a Software Development product. The community recommends 14 alternatives: 14 open source, 14 self-hostable and 14 free to use. They are ranked by community votes, ratings and favorites, with the key differences from GitHub highlighted.

Last updated:

G

About GitHub

Git hosting and developer collaboration platform with pull requests, issues, Actions CI/CD, packages and Copilot.

Closed source
Not self-hostable
Freemium
Web
Windows
macOS
iOS
Android

Quick picks

Forgejo logo

Best open-source pick

Forgejo

Open source, MIT license

Forgejo logo

Best self-hosted pick

Forgejo

Run it on your own server

Forgejo logo

Best free pick

Forgejo

Free to use

All alternatives

  1. 0
    1.

    Forgejo

    Software Development

    A lightweight software forge focused on scaling, federation, and privacy (fork of Gitea).

    Open source · MIT
    Self-hostable

    Compared with GitHub

    • + Open source (GitHub is not)
    • + Self-hostable (GitHub is not)
    • + Free to use (GitHub is paid)
  2. 0
    2.

    gitbucket

    Software Development

    Git platform powered with easy installation, high extensibility & GitHub API compatibility (alternative to GitHub).

    Open source · Apache-2.0
    Self-hostable

    Compared with GitHub

    • + Open source (GitHub is not)
    • + Self-hostable (GitHub is not)
    • + Free to use (GitHub is paid)
  3. 0
    3.

    Gitea

    代码托管

    A lightweight self-hosted Git service, similar to GitHub or GitLab but with a much smaller resource footprint.

    Open source · MIT
    Self-hostable

    Compared with GitHub

    • + Open source (GitHub is not)
    • + Self-hostable (GitHub is not)
    • + Free to use (GitHub is paid)
  4. 0
    4.

    GitLab

    代码托管

    企业级自托管Git服务,提供完整的DevOps平台

    Open source · MIT
    Self-hostable

    Compared with GitHub

    • + Open source (GitHub is not)
    • + Self-hostable (GitHub is not)
    • + Free to use (GitHub is paid)
  5. 0
    5.

    Gogs

    Software Development

    Painless self-hosted Git Service written in Go.

    Open source · MIT
    Self-hostable

    Compared with GitHub

    • + Open source (GitHub is not)
    • + Self-hostable (GitHub is not)
    • + Free to use (GitHub is paid)
  6. 0
    6.

    Mergeable

    Software Development

    The missing inbox for GitHub pull requests

    Open source · MIT
    Self-hostable

    Compared with GitHub

    • + Open source (GitHub is not)
    • + Self-hostable (GitHub is not)
    • + Free to use (GitHub is paid)
  7. 0
    7.

    minimal-git-server

    Software Development

    Lightweight git server with a basic CLI to manage repositories, supporting multiple accounts and running in a container.

    Open source · MIT
    Self-hostable

    Compared with GitHub

    • + Open source (GitHub is not)
    • + Self-hostable (GitHub is not)
    • + Free to use (GitHub is paid)
  8. 0
    8.

    OneDev

    Software Development

    All-In-One DevOps Platform. With Git Management, Issue Tracking, and CI/CD. Simple yet Powerful.

    Open source · MIT
    Self-hostable

    Compared with GitHub

    • + Open source (GitHub is not)
    • + Self-hostable (GitHub is not)
    • + Free to use (GitHub is paid)
  9. 0
    9.

    OpenGist

    云剪贴板

    基于 Git 的自托管代码片段分享平台,开源替代 GitHub Gist

    Open source · AGPL-3.0
    Self-hostable

    Compared with GitHub

    • + Open source (GitHub is not)
    • + Self-hostable (GitHub is not)
    • + Free to use (GitHub is paid)
  10. 0
    10.

    Pagure

    Software Development

    A lightweight, powerful, and flexible git-centric forge with features laying the foundation for federated and decentralized development.

    Open source · GPL-2.0
    Self-hostable

    Compared with GitHub

    • + Open source (GitHub is not)
    • + Self-hostable (GitHub is not)
    • + Free to use (GitHub is paid)
  11. 0
    11.

    rgit

    Software Development

    An ultra-fast & lightweight cgit clone.

    Open source · WTFPL
    Self-hostable

    Compared with GitHub

    • + Open source (GitHub is not)
    • + Self-hostable (GitHub is not)
    • + Free to use (GitHub is paid)
  12. 0
    12.

    SCM Manager

    Software Development

    The easiest way to share and manage your Git, Mercurial and Subversion repositories over http.

    Open source · BSD-3-Clause
    Self-hostable

    Compared with GitHub

    • + Open source (GitHub is not)
    • + Self-hostable (GitHub is not)
    • + Free to use (GitHub is paid)
  13. 0
    13.

    Sourcehut

    Software Development

    A full web git interface with no javascript.

    Open source · GPL-2.0
    Self-hostable

    Compared with GitHub

    • + Open source (GitHub is not)
    • + Self-hostable (GitHub is not)
    • + Free to use (GitHub is paid)
  14. 0
    14.

    walgit

    File Transfer

    walgit is a single-binary Git server that stores repository data in an object store instead of a local database or shared filesystem.

    Open source · MIT
    Self-hostable

    Compared with GitHub

    • + Open source (GitHub is not)
    • + Self-hostable (GitHub is not)
    • + Free to use (GitHub is paid)

GitHub vs. alternatives

ServiceOpen sourceSelf-hostedLicensePricingPlatformsRatingVotes
GitHub
Current
NoNoproprietaryFreemiumWeb / Windows / macOS / iOS / Android——
ForgejoYesYesMIT———0
gitbucketYesYesApache-2.0———0
GiteaYesYesMIT———0
GitLabYesYesMIT———0
GogsYesYesMIT———0
MergeableYesYesMIT———0
minimal-git-serverYesYesMIT———0
OneDevYesYesMIT———0
OpenGistYesYesAGPL-3.0———0
PagureYesYesGPL-2.0———0
rgitYesYesWTFPL———0
SCM ManagerYesYesBSD-3-Clause———0
SourcehutYesYesGPL-2.0———0
walgitYesYesMIT———0

FAQ

What is the best alternative to GitHub?

Community-recommended alternatives to GitHub include Forgejo, gitbucket, Gitea, GitLab, Gogs, and Mergeable. Compare open source, self-hosting, pricing and platforms to choose.

Is there a free alternative to GitHub?

Yes. Forgejo, gitbucket, Gitea, GitLab, Gogs, and Mergeable can be used for free; the open-source, self-hostable ones can be run on your own server at no cost.

Is there an open-source alternative to GitHub?

Yes. Open-source alternatives include Forgejo, gitbucket, Gitea, GitLab, Gogs, and Mergeable.

Can I self-host an alternative to GitHub?

Yes. Forgejo, gitbucket, Gitea, GitLab, Gogs, and Mergeable can run on your own server, so you keep control of your data.

Services in the same category that haven't been suggested as GitHub alternatives yet. If one fits, add it as an alternative.

  • H
    Heroku

    Salesforce-owned platform-as-a-service that runs apps in managed containers (dynos) with add-ons for databases and other services.

  • R
    Render

    Cloud platform for deploying web services, static sites, background workers, cron jobs and managed Postgres from a Git repository.

  • B
    Bitbucket

    Atlassian's Git hosting service with pull requests, Pipelines CI/CD and tight Jira integration.

  • P
    Postman

    API platform for sending requests, testing, documenting and mocking APIs, with shared team workspaces.

  • 9
    92five

    Self-hosted project management application.

    Self-hostable
  • V
    Vercel

    Frontend cloud platform for deploying web apps and Next.js sites with preview deployments, serverless functions and a global edge network.

Know another GitHub alternative?

Once added, the community can vote and the best suggestions rise to the top.