Setting up GIT ?

Depending on the system you use for development, mostly linux or mac are preferrable for development and we will discuss git installation in these systems.

1. The first step is always to verify if GIT is installed in the system or not by below command:

git --version


If you get some version numbers like 0.1.5 or something means GIT is already installed. If not then first thing first, you need to install GIT in your system to use it.

Now lets install GIT in linux system as :

sudo apt install git



If your system is Red Hat-based systems like Fedora, then you install GIT like below:

sudo dnf install git

or 

sudo yum install git



If your system is mac, then you install GIT like below:

brew install git



Now if you type the comnmand git --version on your terminal now after installation then you will get some version number indicating that it is installed.

Next the whole process is something like this: Set up a project locally, initialise git (make the project folder a git repository), add all files of project in GIT then COMMIT and then push it.
Some exceptions like merge conflict may occur and different situations like rolling back some changes etc which will be dealt also.