Install Git on Raspberry Pi

Git is an open-source version control system that is used track a file changes. Git is commonly used by developers during software development.

This tutorial shows how to install Git on Raspberry Pi.

Use SSH to connect to Raspberry Pi and run the following commands to install Git:

sudo apt update
sudo apt install -y git

Once installation was completed we can check Git version.

git --version

Run the following command if you want completely remove any package with a name that starts with git and anything related to it:

sudo apt purge -y git.*

Leave a Comment

Your email address will not be published. Required fields are marked *