Linux Installation

Install git

To install git on Linux/Unix is as simple as runing:

sudo apt update
sudo apt install git

You can verify the installation by running:

git --version

Set up your username and email.

git config --global user.name "username"
git config --global user.email mail@mail.com

Verify the new username and email have changed:

Tip

It’s also usefull to configure the default text editor that git will be using to be vsode. You can do this by running:

git config --global core.editor "code --wait"