How to install GIT on Ubuntu 19.10?

Windows Articles

How to install Lighttpd on Ubuntu 20.04?

There are many web services in Unix but we always look for the one that best suits our needs. In this case,...

How to install Docker on Ubuntu 20.04 / Debian 10?

Docker is a fairly popular technology in today's sysadmin. It is logical to think because it means a complete change in the way images...

How to install Mantis Bug Tracker on Ubuntu 20.04?

Hi, folks. In this post, I will help you to install Mantis Bug Tracker on Ubuntu 20.04 If you...

How to install WordPress with Nginx on Ubuntu 20.04?

Hi, folks. In this post, we will help you install Wordpress with Nginx on Ubuntu 20.04. It's a lot easier than you...

Electron 9.0 available

News has arrived that many developers are going to love. And that is that Electron this great cross-platform application framework has released...
angeloma
angeloma
Senior Writer and partner

In this short post, you will learn how to install Git on Ubuntu 19.10 step by step. But we will also show you two ways to do it.

When a new version of Ubuntu comes out many users run to install it. It is obvious because many want to get the news quickly. However, there are other users who feel somewhat lost when arriving at this new version. So they need to install some applications but they do not know how or if everything stays the same or changes. One of these applications is GIT because many developers and even novices use it for their learning. However, in Linux, there are many things that can be done in various ways and here I will show you.

In general, GIT is an open-source version control system ideal to control and manage the different versions of any application. It is widely used in the developing world for its efficiency and ease of use.

So let’s see how to do it.

Install Git on Ubuntu 19.10

1.- Using the official repositories

Git is available from the official Ubuntu repositories so we can install it with the following command:

:~$ sudo apt install git
1.- Installing Git on Ubuntu 19.10
1.- Installing Git on Ubuntu 19.10

As you can see, it is very simple. This method is the safest and most reliable, but it has a weakness. With time GIT will publish new versions with improvements and bug fixes and we will not be able to get it from the official repositories.

2.- Using the GIT PPA repository

To always get the latest version of Git available in Ubuntu, we have a PPA repository available. So, this method is recommended for more advanced users who know how to use the repositories. It is also recommended for users who always want Git news.

First, we add the repository:

:~$ sudo add-apt-repository ppa:git-core/ppa
2.- Add the Git PPA
2.- Add the Git PPA

Then, refresh the APT cache and install Git.

:~$ sudo apt update
:~$ sudo apt install git
3.- Git version
3.- Git version

Now you will have Git ready to be used.

Finally, check the installed version with the following command.

You can also read an introduction to the Git branches.

More articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest article

How to install Lighttpd on Ubuntu 20.04?

There are many web services in Unix but we always look for the one that best suits our needs. In this case,...

How to install Docker on Ubuntu 20.04 / Debian 10?

Docker is a fairly popular technology in today's sysadmin. It is logical to think because it means a complete change in the way images...

How to install Mantis Bug Tracker on Ubuntu 20.04?

Hi, folks. In this post, I will help you to install Mantis Bug Tracker on Ubuntu 20.04 If you...

How to install WordPress with Nginx on Ubuntu 20.04?

Hi, folks. In this post, we will help you install Wordpress with Nginx on Ubuntu 20.04. It's a lot easier than you...

Electron 9.0 available

News has arrived that many developers are going to love. And that is that Electron this great cross-platform application framework has released...