Your code. Your machine. Your rules.

A tiny, self-hosted Git server for your trusted home network. No cloud, no accounts, no complexity.

Install the latest version (1.6.0)

$ curl -fsSL https://raw.githubusercontent.com/chris-roerig/homegit/main/install.sh | sh click to copy

Paste that in a macOS Terminal or Linux shell. Prefer Homebrew? Run brew install chris-roerig/homegit/homegit. Then homegit setup.

homegit init
homegit start
homegit clone
homegit list
homegit add-meta
homegit backup
homegit doctor
and more…

01 Stay local.

Keep your side projects on your own machine. Work offline and share across computers on your trusted network.

02 Keep it simple.

A single binary with an embedded SSH server and a read-only web browser for your repos. No separate database or accounts to maintain.

03 Just use Git.

Initialize, push, and clone with familiar commands. Repositories are created automatically on first push.

04 Update in place.

Installed via the shell script? Run homegit update. Installed via Homebrew? Use brew upgrade.

05 Browse in your browser.

Open http://your-server:8222 for a GitHub-style view: file tree, rendered READMEs, and a search box for your repos. Add a description with homegit add-meta.

06 Lock it down.

Optionally limit who can connect with allowed_ips in your config. It applies to both Git and the web UI. Turn the web UI off with --no-web.


Single computer

Host repositories on the machine you're using. During setup, choose “store repos on this computer.”

$ homegit setup            # choose: on this computer
$ homegit start            # server started

$ cd my-project
$ homegit init
$ git add . && git commit -m "Initial commit"
$ git push -u origin main

Connect to another computer

Point this machine at another computer that acts as the server. Set up the server first, then connect as a client.

# on the SERVER machine
$ homegit setup            # choose: on this computer
$ homegit start

# on THIS (client) machine
$ homegit setup            # choose: on another computer → 10.0.0.142
$ homegit list             # repos on 10.0.0.142
$ homegit clone