$yum update -y
Installing JDK 1.8
Now check the Java version.
Lets proceed next to install Git
GIT is installed in /usr/bin. Lets check the version of the GIT installed in the linux box as shown.
Once git is installed and we are able to see the version of git installed. We will move to next step to configure git.
In this step we will add user email to configure git repository: