A set of command-utilities for hosting git-based code repositories. Ideally, you can host your git server in your home computer, and the server is accessible from every point in the internet, without uploading the codes to a centralized archive. The helpers are based on libp2p and no additional router configurations are needed.
On the server-side:
>> git g2g
Host ID: QmafQq3BfH1b1hF6p8tcvnn5opxmPuPQQtuSesRzSgBvKY
And then on the client side:
>> git clone g2g://QmafQq3BfH1b1hF6p8tcvnn5opxmPuPQQtuSesRzSgBvKY/<repository>.git
curl -sL -O https://github.com/jayay98/git-remote-g2g/releases/latest/download/git-remote-g2g_Darwin_x86_64.tar.gz
mkdir ~/g2g
tar xvzf git-remote-g2g_Darwin_x86_64.tar.gz -C ~/g2g
export PATH=$PATH:$HOME/g2g
which git-g2g && which git-remote-g2g
git clone https://github.com/jayay98/git-remote-g2g.git
cd git-remote-g2g
make install