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.


Popular posts from this blog

How to set content disposition header for nginx server to force content download

Animated daylight on HTML5 Canvas

How to make a static http server in nodejs using express

JS13K Preparation

Adding Gameover and introduction screen on HTML Canvas