Git server
Our own git server running inside NanumOS. Ordinary git clients connect as they are, and everything received is checked before it is applied. It is in trial now.
Status: In trial
A server that takes code pushed up, hands it back down and guards its history. It runs inside NanumOS, and all of its roughly 3300 lines are our own code. Not one line comes from other git software.
What it does
- Ordinary git clients connect without any change. clone, fetch, push, tags and many branches work.
- Everything pushed is checked before it is applied.
- A shallow clone is politely refused with a message that it is not supported.
- Login details are stored with Argon2id, and repeated wrong tries are blocked for 1 minute.
How it works
A pushed bundle of code is not applied the moment it arrives. First each object is checked one by one in a separate place, and only when everything is right are the names that point at the code (the refs) changed in one step. It is like opening a parcel at the front door and putting it on a shelf inside the house only when nothing is wrong. If it is cut off midway, the shelf stays as it was.
How sturdy it is
- Stopping the server at 15 different points during a push, and cutting the power, did not damage a repository.
- A 224 MB repository was pushed in 5.5 seconds and cloned in 2.8 seconds.
- Feeding it 1.84 million deliberately broken inputs found no problem.
Where it stands and what is left
It is still in trial, so it has not been merged into the main NanumOS build. Encrypted shell access, a web view and a scale run for big repositories come next. The whole order of moving servers onto NanumOS is on Using it as a server.
Technical details
gitd checks the whole push before any ref moves, and it keeps a record of ref changes. Push and clone accept both of the transfer methods ordinary git clients use.
NanumOS 0.1.8349 · 2026-11-16