20 self-hosted GitHub alternatives

Cloud-hosted Git repository platform providing Git-based source code hosting, pull requests, code review, issue tracking and project management, integrated CI/CD (GitHub Actions), package registries, and collaboration tools for software development teams.

Alternatives to GitHub

Gitea is a lightweight, self-hosted Git service with repositories, pull requests, issues, wiki, packages, and built-in CI/CD via Actions and runners.

Gitea screenshot

57.1k stars6.9k forksMITlast commit Actively maintained

Lightweight, open source self-hosted Git service designed for easy installation across platforms.

Gogs screenshot

47.7k stars5.1k forksMITlast commit Actively maintained

Harbor is an enterprise-grade cloud native registry for container images and artifacts with RBAC, vulnerability scanning, signing, replication, and audit logging.

Harbor screenshot

29k stars5.3k forksApache-2.0last commit Actively maintained

OneDev is a self-hosted DevOps platform combining Git hosting, CI/CD pipelines, Kanban-style issue tracking, code review, and built-in package registries.

OneDev screenshot

15.1k stars965 forksMITlast commit Actively maintained

GitBucket is a self-hosted Git web platform for managing Git repositories with issues, pull requests, wikis, Git LFS support, and a plugin system.

GitBucket screenshot

9.4k stars1.3k forksApache-2.0last commit Actively maintained

Self-hostable Git server focused on SSH, featuring a terminal UI, access control, and Git LFS support, with cloning via SSH, HTTP, or the Git protocol.

7.1k stars237 forksMITlast commit Actively maintained

Unregistry is a lightweight OCI image registry plus Docker CLI plugin that pushes images directly to remote Docker hosts over SSH, transferring only missing layers.

Unregistry screenshot

4.8k stars91 forksApache-2.0last commit Actively maintained

Review Board is a web-based tool for code and document reviews, with rich diff viewing, threaded discussions, and integrations with many version control and CI systems.

Review Board screenshot

1.7k stars435 forksMITlast commit Actively maintained

Gerrit Code Review is a web-based code review and workflow tool for Git that supports inline comments, access controls, and integrated Git hosting via SSH/HTTPS.

Gerrit Code Review screenshot

1.2k stars272 forksApache-2.0last commit Actively maintained

#10

Rust-based, gitweb/cgit-like web interface for browsing bare Git repositories with RocksDB indexing, on-demand gitoxide loading, and Docker/Nix support.

207 stars23 forksWTFPLlast commit Slowing down

Web-based source code management to host and manage Git, Mercurial and Subversion repositories with fine-grained auth, REST API, plugins and a configurable UI.

SCM-Manager screenshot

174 stars35 forksAGPL-3.0last commit Actively maintained

A browser-first inbox that organizes GitHub pull requests into customizable sections with keyboard shortcuts and support for GitHub Enterprise.

Mergeable screenshot

107 stars11 forksMITlast commit Slowing down

Forgejo is a self-hosted, lightweight Git forge with repositories, issues, pull requests, wikis, and packages for teams and communities.

Forgejo screenshot

Activity unknown

Fossil is a distributed source control system with a built-in web interface plus integrated issue tracking, wiki, forum, and project collaboration features in a single executable.

Fossil screenshot

Activity unknown

GitLab is a web-based DevOps platform providing Git repository hosting, issue tracking, merge requests, and built-in CI/CD pipelines for teams.

GitLab screenshot

Activity unknown

Self-hosted Git and Mercurial repository management with web UI, code review, fine-grained permissions, and integrations for teams and organizations.

Activity unknown

Pagure is a self-hosted Git platform for hosting repositories, managing issues and pull requests, and collaborating with teams via a web interface and APIs.

Pagure screenshot

Activity unknown

Self-hosted repository management platform for Git, Mercurial (Hg), and Subversion (SVN) with code review, permissions, and team collaboration features.

RhodeCode screenshot

Activity unknown

Smederee is an open-source, lightweight software forge that provides repository hosting, ticketing, code review and project management; implemented in Java/Scala for self-hosting.

Smederee screenshot

Activity unknown

What replacing GitHub actually involves

Every option on this page is open source and free to run on your own hardware, so you own the data and there is no subscription to cancel. 11 of 20 shipped a commit in the last six months. Licences in this list: MIT, Apache-2.0, WTFPL, AGPL-3.0. In exchange you take on hosting, backups and updates yourself.

Browse everything in Source Code Hosting & Collaboration (Git Forges).

Other tools people replace alongside GitHub