Back to services

Gitblit

Pure Java stack for managing, viewing, and serving Git repositories.

View alternatives to Gitblit
Suggest edit
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Introduction

Gitblit is an open-source, pure Java stack for managing, browsing, and hosting Git repositories, released under the Apache License 2.0. It is aimed mainly at small workgroups that want to host their repositories in one place. The current version is 1.10.0 (released 2025-06-14).

Key Features

  • Full protocol support: SSH, HTTP/HTTPS, and GIT protocols work out of the box.
  • Ticket tracking and pull requests: Borrowing ideas from GitHub, BitBucket, and Gerrit, it supports branch-based collaboration and code review within the main repository.
  • Flexible usage: It can serve as a simple repository browser (with no administration features or user accounts needed), or as a full Git server offering cloning, pushing, and access control. It can run entirely without other Git tools (including Git itself), or work alongside your existing tools.
  • Remote administration: Administrators can manage repositories, users, and teams through the web interface, the JSON RPC interface (using Gitblit Manager or your own tools), or the SSH command line (Powertools plugin).
  • Integrations:
    • Plugin extension mechanism and a plugin registry
    • Groovy push hook scripts
    • Pluggable user services: LDAP (team membership can optionally be controlled by LDAP), Redmine, SalesForce.com, Windows, and PAM authentication, as well as custom authentication and authorization
    • RSS feeds, JSON RPC, and a Java client API library for custom integrations
  • Backup and Federation: Repositories can be backed up to another Gitblit instance or a federation client, with user accounts, teams, server settings, and hook scripts optionally included in the backup. You can also aggregate repositories from multiple personal Gitblit instances onto a central server.
  • Other: Lucene full-text indexing, repository mirroring, Git LFS file storage, fail2ban integration, reverse proxy support, and an Eclipse plugin.

Who It's For

  • Small development teams that want to self-host a Git server on their internal network
  • Enterprise environments that already use Java or Servlet containers
  • Individuals or organizations that only need a lightweight Git repository browser

Deployment

Gitblit comes in two distributions:

  1. Gitblit GO: An all-in-one solution based on Jetty, with installation packages for Windows (zip) and Linux/macOS (tar.gz). It doesn't require Apache httpd, Perl, Git, or Gitweb, and the official documentation says you can have it set up in 5 minutes.
  2. Gitblit WAR: Suited to environments that already have a Servlet container. It is known to run on Jetty 6/7/8 and Tomcat 6/7, and in general any container compatible with Servlet 2.5/3.0 should work.

An official Docker image (gitblit/gitblit) is also provided, and it can be obtained from Maven repositories as well.

Technical Requirements

  • Requires a Java 8 runtime (JRE or JDK)

Highlights

  • Pure Java implementation, cross-platform, with few dependencies
  • Lightweight, suitable for servers with limited resources
  • Source code hosted on GitHub (gitblit-org/gitblit)