Setting Up a Git Remote

The Remote is Git’s network backup system. GitHub is nothing more than a Remote manager with a Web interface. The connection uses the SSH protocol. Installing Git on the Server sudo apt-get install git Creating the Git User The “git” user will allow us to interact with the remote repository. sudo adduser --system --shell /bin/bash --group --disabled-password --home /var/git/ git Then change the owner of the “/var/git” directory, which was created during git installation and is the home directory of the git user. ...

March 22, 2018 · 2 min · Flavien Jourdren