Skip to content

Best Open Source Git hosting and version control Software (2026)

82 open source tools in this category · top 30 ranked · Data checked November 24, 2026 · By , founder & editor

Git hosting software stores your repositories and adds collaboration: pull requests, issue tracking, code review and CI/CD. When choosing, check branch protection rules, package registry, code search, security scanning, SSO and SAML, Git LFS support and webhooks.

Most open source options can be self-hosted. GitLab and Gitea cover code review, CI and packages. Forgejo and Gogs are lighter and suit small teams. OneDev adds Kanban and package registries. lazygit, GitButler and gitoxide are client-side tools. Compared with GitHub and Azure Devops, you run and maintain the server yourself.

Ranked Git hosting and version control tools

  1. 1

    Gogs

    Git hosting and version control

    Single-binary self-hosted Git service for small teams that want a light GitHub alternative

    48k 5.1k today Active MIT

    Replaces GitHub

  2. 2

    lazygit

    Git hosting and version control

    Terminal UI that makes staging, rebasing and cherry-picking in git faster for CLI users

    84k 3.2k yesterday Thriving MIT

  3. 3

    Gitea

    Git hosting and version control

    Self-hosted Git forge with code review, packages and GitHub Actions-compatible CI

    59k 7.4k today Thriving MIT

    Replaces GitHubJFrog Artifactory

  4. 4

    Harness

    Git hosting and version control

    Self-hosted platform combining Git hosting, CI pipelines, dev environments and registries

    39k 3.5k today Active Apache-2.0

    Replaces GitHub

  5. 5

    GitButler

    Git hosting and version control

    22k 1.1k today Thriving Unknown

  6. 6

    gitbucket

    Git hosting and version control

    Self-hosted Git platform in Scala with GitHub API compatibility, run from one WAR file

    9.4k 1.3k today Active Apache-2.0

    Replaces GitHub

  7. 7

    GitLab

    Git hosting and version control

    Self-hosted or SaaS DevOps platform with Git hosting and built-in CI/CD

    6.2k 13k 3 days ago Active MIT

    Replaces GitHub

  8. 8

    Forgejo

    Git hosting and version control

    Lightweight self-hosted Git forge for small teams that want a GitHub-style workflow

    5.9k 1k 2 days ago Thriving GPL-3.0-or-later

    Replaces GitHub

  9. 9

    gitlabhq

    Git hosting and version control

    25k Unknown

  10. 10

    OneDev

    Git hosting and version control

    Self-hosted Git platform with CI/CD, Kanban, issues and package registries in one

    15k 992 yesterday Active MIT

  11. 11

    klaus

    Git hosting and version control

    Zero-configuration web viewer for Git repositories you host on your own server

    707 104 10 days ago Active ISC

  12. 12

    GitHub Desktop

    Git hosting and version control

    Linux build of the GitHub Desktop Git client, shipped as AppImage, deb and rpm

    8.1k 594 2 years ago Dormant MIT

  13. 13

    GitLab FOSS

    Git hosting and version control

    Self-hosted Git platform with merge requests, issues and CI for software teams

    7.2k 8.4k 3 days ago Slowing MIT

  14. 14

    OpenHub

    Git hosting and version control

    Android GitHub client for browsing repos, issues and commits on your phone

    4.4k 441 6 years ago Dormant GPL-3.0

  15. 15

    SCM Manager

    Git hosting and version control

    Self-hosted server for managing Git, Mercurial and Subversion repositories

    188 37 today Active AGPL-3.0

  16. 16

    Review Board

    Git hosting and version control

    Self-hosted web tool for reviewing code and documents across many version control systems

    1.7k 437 3 days ago Active MIT

  17. 17

    gitlist

    Git hosting and version control

    Self-hosted PHP web viewer for browsing git and Mercurial repositories

    2.9k 506 24 days ago Slowing BSD-3-Clause

  18. 18

    codefever

    Git hosting and version control

    2.7k 285 7 days ago Active MIT

  19. 19

    Gittyup

    Git hosting and version control

    2.3k 188 21 days ago Active MIT

  20. 20

    gitblit

    Git hosting and version control

    2.4k 669 17 months ago Dormant Apache-2.0

  21. 21

    OctoDroid

    Git hosting and version control

    2k 252 12 months ago Dormant Apache-2.0

  22. 22
  23. 23

    MGit

    Git hosting and version control

    1.6k 211 today Active GPL-3.0

  24. 24

    Gerrit

    Git hosting and version control

    1.2k 282 today Active Apache-2.0

  25. 25

    GitComet

    Git hosting and version control

    1k 71 today Thriving AGPL-3.0

  26. 26
  27. 27

    gitprep

    Git hosting and version control

    934 121 5 days ago Active GPL

  28. 28

    git-webui

    Git hosting and version control

    878 119 9 years ago Dormant Apache-2.0

  29. 29

    Desktop Plus

    Git hosting and version control

    866 73 2 days ago Thriving MIT

  30. 30

    sturdy

    Git hosting and version control

    550 20 4 years ago Dormant Unknown

Self-hosted git hosting and version control software

20 of these run on your own server: Gogs, Gitea, Harness, gitbucket, GitLab, Forgejo, gitlabhq, OneDev and more.

Replace proprietary git hosting and version control software

What to look for in git hosting and version control software

The features we check for every tool in this category; they drive the parity scores on alternatives pages.

Pull requests
Propose, review and merge changes through pull or merge requests with inline comments.
Issue tracking
Built-in issues with labels, assignees and milestones.
Built-in CI/CD
Integrated pipelines or workflows that build, test and deploy from the repository.
Branch protection rules
Rules requiring reviews or passing checks before merging into protected branches.
Code review tools
Required reviewers, code owners, suggested changes and review assignments.
Project boards
Kanban or planning boards for tracking work items.
Package registry
Hosts packages or container images such as npm, Maven or Docker.
Wiki and documentation
Built-in wiki or documentation pages for each project.
Code search
Search across repository contents and files.
Security scanning
Built-in secret, dependency or code vulnerability scanning.
Webhooks and REST API
Documented API and webhooks for integrations and automation.
SSO and SAML
Single sign-on through SAML or OIDC identity providers.
AI coding assistant
Integrated AI assistant for code suggestions, review or chat.
Git LFS support
Stores large files using Git Large File Storage.
Static site hosting
Publishes static websites directly from a repository.

Frequently asked questions

What is the best self-hosted alternative to GitHub?

Gitea and Forgejo offer a GitHub-style workflow, and Gitea has GitHub Actions-compatible CI. GitLab is a larger platform with built-in CI/CD.

Which Git server is lightest to run?

Gogs is a single-binary service for small teams. gitbucket runs from one WAR file, and klaus is a zero-configuration web viewer.

Can I get CI/CD in a self-hosted Git platform?

Yes. GitLab, Gitea, Harness and OneDev all include CI. Harness also bundles dev environments and registries.

Which tools help with Git on the command line?

lazygit is a terminal UI for staging, rebasing and cherry-picking. GitButler is a Git CLI and desktop client with stacked branches.

Rankings use fit, health, license and popularity; sponsors never change the order. Methodology · Report an error.