How to install git on a raspberry PI





Its impossible to write software without using Git, Git according to Wikipedia is a distributed version-control system for tracking changes in source code during software development.

A Raspberry PI is a credit card sized single board computer usually running a linux operating system "Debian, or raspbian" preferably used mostly by schools to teach students computer basics.

How to install apt on a raspberry pi;

Install using apt package manager,
To install using apt open your terminal type;

sudo apt update
sudo apt upgrade
sudo apt install git

You will be presented by a apt screen with package information confirm by pressing y followed by Enter;

Once installation completes you can check if the installation was successful by typing;

git --version

Upon successful installation you will be presented with git version number such as;

git version (2.11...)

Next step is to configure git, before doing any cloning you will be required to configure Git by adding your email address.

Comments

Popular posts from this blog

What is 'this.' keyword in JavaScript

How to iterate array elements using 'for loop' in JavaScript