Gitea is a simple and single application that allows you to self-host a git server.
To install Gitea on your Mac, just run this command below under preferred directory to install. This command will update the binary if Gitea is already installed.
bash <(curl -s https://keinos.github.io/gitea_darwin/install.sh)
macOS HighSierra (OSX 10.13.6)
For other confirmed environments see issue #1
It eases your usual process to install Gitea such as below:
MIT License. Same as Gitea, it is.