How to install Git 2.17.0 on Ubuntu 18.04

To install Git - 2.17.0 on Ubuntu &ndash 18.04
  Git is an open source and most popular Version Control System. When a developer develops software he or she can store the software with its source code in Git repository. You can create a duplicate copy of the stored software to make changes to source code over time. The advantage of Git repository is, even if you make a mistake on source code while editing, it will not affect your live software and you can fix the mistake by comparing it with previously released source code. In this tutorial, we will cover the installation of Git on Ubuntu 18.04

Installation

You can install the git from the default Ubuntu  repository as follows. 

root@linuxhelp1:~# apt-get install git 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  apache2-bin apache2-data apache2-utils libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap
Use ' sudo apt autoremove'  to remove them.
The following additional packages will be installed:
  git-man liberror-perl
Suggested packages:
.
.
Selecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a2.17.0-1ubuntu1_all.deb ...
Unpacking git-man (1:2.17.0-1ubuntu1) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a2.17.0-1ubuntu1_amd64.deb ...
Unpacking git (1:2.17.0-1ubuntu1) ...
Setting up git-man (1:2.17.0-1ubuntu1) ...
Setting up liberror-perl (0.17025-1) ...
Processing triggers for man-db (2.8.3-2) ...
Setting up git (1:2.17.0-1ubuntu1) ...

If you may want to know the version of Git, please run the following command on terminal.

root@linuxhelp1:~# git --version
git version 2.17.0

Post-Installation 
You can now use git to clone any repository. However, if you wish to make git commits you first need to set your personal information which will be submitted to the main branch with each your commit. Enter the following commands to set your Name and email address.

root@linuxhelp1:~# git config --global user.name " linuxhelp1" 
root@linuxhelp1:~# git config --global user.email abc@linuchelp1.com

After configuring the credential into Git, then we have to open a Git configuration file where you can find the  user details as follows.

root@linuxhelp1:~# vim ~/.gitconfig
[..]
[user]
        name = linuxhelp1
        email = abc@linuchelp1.com
[..]

With this, the method to  install Git - 2.17.0 on Ubuntu &ndash 18.04 comes to an end.

Tag : Git Ubuntu
FAQ
Q
couldn’t install speedtest-cli in centOS 6.7 . Following error occured: yum install speedtest-cli Loaded plugins: fastestmirror, refresh-packagekit, security Setting up Install Process Loadi
A
There isn’t any speedtest-cli package available from Yum repositories, the only way is to install it from PIP tool as described in this tutorial. So, first install pip package and then do pip
Q
I installed using pip. run the command "speedtest-cli", but the respond is “Command not found.” I’m using Ubuntu 14.04
A
try the command "speedtest" instead of "speedtest-cli"
Q
All I get is: $ speedtest-cli Retrieving speedtest.net configuration… Retrieving speedtest.net server list… Failed to parse list of speedtest.net servers
A
Change line 345 in the script uh = urlopen(‘http://c.speedtest.net/speedtest-servers-static.php’) to uh = urlopen(‘http://www.speedtest.net/speedtest-servers-static.php’) save and exit. T
Q
nstead of using speedtest, I want to check my current Internet speed from the terminal on Ubuntu. How can I do it?
A
you can also use tespeed,iperf,speedometer to test internet speed
Q
I have seen there is a package called indicator-netspeed-unity to check internet speed . Anyone help me how to install it
A
use the folowing steps sudo add-apt-repository ppa:fixnix/netspeed sudo apt-get update sudo apt-get install indicator-netspeed-unity