How to install git on Ubuntu 18.04 Bionic Beaver Linux - LinuxConfig.org

The objective is to install the distributed version control system git on Ubuntu 18.04 Linux. First, we will be installing git on Ubuntu from a standard Ubuntu repository and later we will perform git installation from the source code.
This is a companion discussion topic for the original entry at https://linuxconfig.org/how-to-install-git-on-ubuntu-18-04-bionic-beaver-linux