These github alternatives give you powerful git hosting, on your own terms

By: (plus.google.com) +David Herron; Date: January 8, 2018

Tags: Git

Git is a powerful source code revision control system, letting teams large and small track changes between team members. Github is an excellent service for hosting Git repositories. The Github corporation offers powerful free features, and even more powerful paid features, and software teams around the world are using Github to collaborate. But what if you want to, or must, host your repositories yourself? Some corporate security teams require no use of 3rd party services. Are you stuck using bare git?

Fortunately several Bitbucket and Github alternatives exist letting you create source repositories similar to Github, with most of the capabilities of Github. These open source Github/Bitbucket alternatives can be installed on your own hardware.

For example I have several personal repositories that are not to be visible to the public. One is the repository containing the (akashacms.com) AkashaCMS source to build this website. I don't have the budget necessary to pay Github for private repositories. Therefore, I have tried several ways to host the Git repositories elsewhere.

For example it's easy to set up a Git repository on a shared hosting account. The trick is using an SSH URL to access the repository. But, a bare Git instance doesn't have any of those nice features we enjoy on Github. Most importantly, it doesn't support the Pull Request.

The following Github alternatives provide very similar functionality, and support Pull Requests.

Gitlab

Home: (about.gitlab.com) https://about.gitlab.com/

This is an enterprise-quality Github alternative that includes a Continuous Integration system. It's available as a hosted application under terms similar to Github - namely, a Freemium model where anyone can setup a free account to host Git repositories, and you can pay money for Enterprise features.

The Gitlab corporation is working hard to lure over open source projects from Github. Some are unsatisfied with the features offered by Github, and Gitlab is doing their best to appeal to those needs.

For example, Gitlab supports an extensive array of project management features. I haven't used these features, but it looks like they've incorporated many agile project management tools into a project planning area. No need to rent a service like Pivotal Tracker, it's all in Gitlab.

One feature I have used is the built-in continuous integration system. Gitlab supports integrating several build servers, and kicking off build jobs on various triggers. It's possible to integrate this with code quality and security testing processes. No need to set up a separate Jenkins or Travis CI instance.

Gitlab has a built-in Docker container registry.

There's many more features, and you can either install it on your own machines, or use their cloud service.

I installed the Docker version, and used it for awhile. It's very easy to install Gitlab using Docker.

Gogs

Home: (gogs.io) https://gogs.io/

Gogs stands for Go Git Service. As the name might imply, it is a Github clone written in Go. I currently have Gogs installed alongside a Jenkins instance I use to drive builds. Both are installed in Docker containers, and are running in an Intel NUC sitting on my desk.

The main attraction to Gogs isn't the extensive featureset. While it offers a large portion of Github's capabilities, it is not trying to meet-or-beat that featureset. Instead, the goal is a lightweight alternative that can easily run on low-end hardware.

For example, my first trial of Gogs was on a Raspberry Pi 3. While it runs on that hardware, the result isn't very good. So I installed Gogs on the NUC on my desk to get better performance.

The featureset covers a significantly large subset of the Github features. I've only used it on my own, and have been satisfied.

I'm using Gogs over Gitlab because the editor in Gogs is nicer. While most of the time we do not edit repository content in the repository viewer service, sometimes we do. In some cases it's useful to use the repository viewer as the primary tool for editing the content. In that case, the better editor in Gogs is preferred.

GitBucket

Home: (gitbucket.github.io) https://gitbucket.github.io/

Another system, in this case written in Java. I have never used GitBucket, but the featurelist on the website is very short:

  • Repository Viewer
  • Issue Queue
  • Pull Request
  • Wiki
  • Plugin system

It appears to be a very stripped-down system that offers just the essential features. There is a plugin system with several 3rd party add-ons available.

More

Several others are listed here: (alternativeto.net) https://alternativeto.net/software/github/?license=opensource

« Installing Composer on a Dreamhost VPS, or perhaps other VPS's In which episode did The Doctor meet Clara Oswald »
2016 Election Acer C720 Ad block AkashaCMS Amazon Amazon Kindle Amazon Web Services America Amiga and Jon Pertwee Android Anti-Fascism AntiVirus Software Apple Apple Hardware History Apple iPhone Apple iPhone Hardware April 1st Arduino ARM Compilation Artificial Intelligence Astronomy Astrophotography Asynchronous Programming Authoritarianism Automated Social Posting AWS DynamoDB AWS Lambda Ayo.JS Bells Law Big Brother Big Data Big Finish Big Science Bitcoin Mining Black Holes Blade Runner Blockchain Blogger Blogging Books Botnets Cassette Tapes Cellphones China China Manufacturing Christopher Eccleston Chrome Chrome Apps Chromebook Chromebox ChromeOS CIA CitiCards Citizen Journalism Civil Liberties Clinton Cluster Computing Command Line Tools Comment Systems Computer Accessories Computer Hardware Computer Repair Computers Conservatives Cross Compilation Crouton Cryptocurrency Curiosity Rover Currencies Cyber Security Cybermen Cybersecurity Daleks Darth Vader Data backup Data Formats Data Storage Database Database Backup Databases David Tenant DDoS Botnet Department of Defense Department of Justice Detect Adblocker Developers Editors Digital Photography Diskless Booting Disqus DIY DIY Repair DNP3 Do it yourself Docker Docker MAMP Docker Swarm Doctor Who Doctor Who Paradox Doctor Who Review Drobo Drupal Drupal Themes DVD E-Books E-Readers Early Computers Election Hacks Electric Bicycles Electric Vehicles Electron Eliminating Jobs for Human Emdebian Encabulators Energy Efficiency Enterprise Node EPUB ESP8266 Ethical Curation Eurovision Event Driven Asynchronous Express Face Recognition Facebook Fake News Fedora VirtualBox Fifth Doctor File transfer without iTunes FireFly Flash Flickr Fraud Freedom of Speech Front-end Development G Suite Gallifrey git Github GitKraken Gitlab GMAIL Google Google Chrome Google Gnome Google+ Government Spying Great Britain Green Transportation Hate Speech Heat Loss Hibernate Hoax Science Home Automation HTTP Security HTTPS Human ID I2C Protocol Image Analysis Image Conversion Image Processing ImageMagick In-memory Computing InfluxDB Infrared Thermometers Insulation Internet Internet Advertising Internet Law Internet of Things Internet Policy Internet Privacy iOS Devices iPad iPhone iPhone hacking Iron Man iShowU Audio Capture iTunes Janet Fielding Java JavaFX JavaScript JavaScript Injection JDBC John Simms Journalism Joyent Kaspersky Labs Kext Kindle Kindle Marketplace Large Hadron Collider Lets Encrypt LibreOffice Linux Linux Hints Linux Single Board Computers Logging Mac Mini Mac OS Mac OS X Machine Learning Machine Readable ID macOS macOS High Sierra macOS Kext MacOS X setup Make Money Online March For Our Lives MariaDB Mars Mass Violence Matt Lucas MEADS Anti-Missile Mercurial MERN Stack Michele Gomez Micro Apartments Microsoft Military AI Military Hardware Minification Minimized CSS Minimized HTML Minimized JavaScript Missy Mobile Applications Mobile Computers MODBUS Mondas Monetary System MongoDB Mongoose Monty Python MQTT Music Player Music Streaming MySQL NanoPi Nardole NASA Net Neutrality Network Attached Storage Node Web Development Node.js Node.js Database Node.js Performance Node.js Testing Node.JS Web Development Node.x North Korea npm NVIDIA NY Times Online advertising Online Community Online Fraud Online Journalism Online Photography Online Video Open Media Vault Open Source Open Source and Patents Open Source Governance Open Source Licenses Open Source Software OpenAPI OpenJDK OpenVPN Palmtop PDA Patrick Troughton Paywalls Personal Flight Peter Capaldi Peter Davison Phishing Photography PHP Plex Plex Media Server Political Protest Politics Postal Service Power Control President Trump Privacy Production use Public Violence Raspberry Pi Raspberry Pi 3 Raspberry Pi Zero ReactJS Recaptcha Recycling Refurbished Computers Remote Desktop Removable Storage Republicans Retro Computing Retro-Technology Reviews RFID Rich Internet Applications Right to Repair River Song Robotics Robots Rocket Ships RSS News Readers rsync Russia Russia Troll Factory Russian Hacking Rust SCADA Scheme Science Fiction SD Cards Search Engine Ranking Season 1 Season 10 Season 11 Security Security Cameras Server-side JavaScript Serverless Framework Servers Shell Scripts Silence Simsimi Skype SmugMug Social Media Social Media Networks Social Media Warfare Social Network Management Social Networks Software Development Software Patents Space Flight Space Ship Reuse Space Ships SpaceX Spear Phishing Spring Spring Boot Spy Satellites SQLite3 SSD Drives SSD upgrade SSH SSH Key SSL Stand For Truth Strange Parts Swagger Synchronizing Files Tegan Jovanka Telescopes Terrorism The Cybermen The Daleks The Master Time-Series Database Tom Baker Torchwood Total Information Awareness Trump Trump Administration Trump Campaign Twitter Ubuntu Udemy UDOO US Department of Defense Virtual Private Networks VirtualBox VLC VNC VOIP Vue.js Walmart Weapons Systems Web Applications Web Developer Resources Web Development Web Development Tools Web Marketing Webpack Website Advertising Weeping Angels WhatsApp William Hartnell Window Insulation Windows Windows Alternatives Wordpress World Wide Web Yahoo YouTube YouTube Monetization