Gitea is a self-hosted, open-source Git service similar to GitHub, but lightweight, free, and perfect for personal or local setups.
While the official Gitea installation guide is simple, the process you'll see here might seem a bit extra - and that's because I wanted something very specific.
Let's put it this way: I wanted to run my own local github.com, completely offline.
My top priority was to host everything locally on my own network, where the host and client machines could communicate both wirelessly (through a Wi-Fi router) and directly through a LAN cable (peer-to-peer).