From tarballs to GitMoon: a short history of Git hosting

Before Git, history lived in tarballs and mailboxes. Here is how we got from CVS and BitKeeper to Git, GitHub and GitLab, and what I am trying to do differently with GitMoon.

By Laercio Borges

· 7 min read

I started GitMoon because I wanted a place for my own code that I could trust. Not a bigger place. A calmer one. To explain what I mean by that, I want to go back a few decades, because the way we keep code today was not obvious, and for a long time it was not this good.

Before version control: tarballs and patches

In the early days, a release was often a compressed archive, a tarball, sitting on an FTP server. If you wanted to change something, you downloaded the archive, edited the files, and made a patch with diff. Then you sent that patch to the maintainer by email. The maintainer applied it with patch, or did not.

This worked better than it sounds. The Linux kernel grew for about ten years like this, with Linus Torvalds taking patches by email and publishing new tarballs. But the history lived in people's heads and in their mailboxes. If you asked "why did this line change three years ago?", the honest answer was often "nobody remembers".

Central servers: RCS, CVS and Subversion

The first version control tools tracked single files. SCCS came out of Bell Labs in the 1970s, and RCS followed in the early 1980s. They kept the versions of one file at a time and used locks, so two people did not edit the same file at once.

CVS came next and was everywhere in the 1990s. It worked with whole projects and let several people edit at the same time and merge later. It still had weak spots. A commit was not atomic: if your connection dropped in the middle, some files were committed and some were not. Renaming a file lost its history.

Subversion (SVN) was built to be a better CVS, and version 1.0 came out in 2004. It had atomic commits, real directory history and a clean model. Many companies still use it, and for teams with a lot of large binary files it can still be a fair choice.

All of these tools had one thing in common: one central server. You needed the network to look at history or to commit. If the server died and the backups were bad, the history died with it.

BitKeeper, and the month Git was born

Distributed version control changed that. Every developer has a full copy of the history. You can commit, create branches and read old versions on a plane.

The Linux kernel moved to BitKeeper, a commercial distributed tool, in 2002. The license let open source developers use it for free, which was always a bit uncomfortable. In April 2005 it ended. After a dispute about reverse engineering the BitKeeper protocol, the free license for kernel developers was withdrawn.

Linus needed a replacement quickly, so he wrote one. He started Git in early April 2005, and the first commit is dated April 7, 2005. Within a few months Git was managing kernel releases, and in July 2005 Junio Hamano took over as maintainer, a job he still does. Mercurial was also started that same April, for the same reason. One license dispute gave us two good tools.

Git made a few design choices that still matter today:

  • Every commit is named by a hash of its content and of its parents. You cannot change history quietly. If one byte changes, every hash after it changes too.
  • Branches are cheap. A branch is a small pointer, so people create them all the time.
  • Merging is a normal daily task, not a scary event planned weeks ahead.

The first point is the one I think about most. Git's data model is honest by design.

Git needed a home: GitHub and GitLab

Git itself has no website, no accounts and no buttons. It is a tool. People still needed a shared place for the main copy, a way to read code in a browser, and a place to talk about changes.

SourceForge had hosted open source projects since 1999, mostly with CVS and Subversion. Then GitHub launched in 2008 and made Git social. You could fork a project with one click and open a pull request. Profiles, stars and activity feeds turned code into something people browse for fun. Microsoft bought GitHub in 2018.

GitLab started in 2011 as an open source project you could run on your own server. It grew into a full platform with CI/CD, issue tracking and security scanning in one product, and it is still a strong choice for teams that want to host everything themselves.

Both platforms did a lot for software. Most of what I know, I learned by reading other people's code on them. So I want to be fair: they are mature, they have features GitMoon does not have, and for many teams they are the right answer.

What got harder

Hosting got easy. Some other things got harder.

Secrets leak. A .env file committed by mistake, an API key inside a test, a token printed in a CI log. Git keeps everything, so a secret in history stays in history until someone rewrites it.

Things become public by accident. Many people created public repositories because that was the default when they started. Years later they forget that one of those repositories has a client's code in it.

AI writes more code than ever. An AI app builder can produce a working app in minutes. That code needs a home and a history, and the person who asked for the app may never have used Git.

Platforms got very big. Big is good for features. It can also mean hundreds of settings, many permission levels and many ways to make a small mistake with large results.

Where GitMoon fits

I am Laercio Borges, and I build GitMoon. Some people type it GitMoom, and they still end up in the right place. It is a young product, so I want to be clear about what it is today, not what it might become.

These are choices I made on purpose:

  • Private by default. A new repository is private. It becomes public only when the owner chooses that. Nothing goes public because of a default.
  • A public feed only for what you choose to show. Explore lists public repositories and nothing else. People can give Kudos, one per person per repository. Nobody can see who gave Kudos, and you cannot give Kudos to your own repository.
  • Keys you can check. You add your SSH public keys and GitMoon shows the SHA256 fingerprint, the same one ssh-keygen -lf prints. An API key is shown once. GitMoon stores only a SHA-256 hash of it, and you can revoke it at any time.
  • A home for AI-made code. Every app saved in Vertal Dev is committed to its own private GitMoon repository, one commit per saved version. Partner apps can do the same through the GitMoon Service API.
  • Simple prices in US dollars. The Starter plan is free. Pro is $4.99 per month and Business is $9.99 per month, with more repositories and more AI tokens for code review.

And here is what GitMoon does not do today, so you do not find out the hard way. You cannot git push to GitMoon over SSH or HTTPS, and there are no pull requests or issue trackers like the ones you know from GitHub and GitLab. If your team depends on those every day, keep using them. I wrote a separate guide on moving from GitLab or GitHub that explains what moves and what does not.

Safer, more responsible, fewer problems

"Safer" is a big word, so here is what I mean by it in practice:

  1. Defaults that protect you when you are tired or in a hurry.
  2. Fewer settings, so fewer of them can be wrong.
  3. Honest pages. If GitMoon cannot do something, the product and this blog say so.

Git gave us a history that cannot be changed quietly. GitHub and GitLab gave Git a home. With GitMoon I want to give your code a home that does not surprise you. If that sounds useful, the Git habits that keep a team out of trouble post is a good next read, and you can look around Explore or create a free account.

FAQ

Who created Git?

Linus Torvalds wrote the first version of Git in April 2005 to manage the Linux kernel, after the free BitKeeper license for kernel developers ended. Junio Hamano has maintained Git since July 2005.

Is GitMoon the same as GitMoom?

Yes. GitMoon is the name of the product. The other spelling is a common typo, and both lead to gitmoon.dev.

Is GitMoon a GitHub or GitLab alternative?

For some uses, yes: private repositories, a public feed with Kudos, AI code review, and a home for code made by AI app builders. GitMoon does not accept git push today and has no pull requests or issues, so it does not replace GitHub or GitLab for every team.

How much does GitMoon cost?

The Starter plan is free. Pro costs $4.99 per month and Business costs $9.99 per month. All prices are in US dollars. See pricing.

Try GitMoon

The Starter plan is free. It has 5 repositories, private by default, and 2,500 AI tokens each month.

Keep reading