1.8 C
Amsterdam
Saturday, December 5, 2020

How to install GIT on Ubuntu 19.10?

Must read

How To Install Docker Swarm On Ubuntu 20.04

In this tutorial, you'll learn that how to Install Docker Swarm on Ubuntu 20.04. Docker Swarm is most popular tool that can be used...

How To Install Keeweb Password Manager On Ubuntu 20.04

Today we are going to learn that how to install KeeWeb Passwrod Manager On Ubuntu 20.04. KeeWeb Password Manager provides the best and easy...

How to change the MAC address in Windows 10

Hello! How are you? Today we will see how to change the MAC address on a computer with Windows 10. In fact, it is...

How To Configure Slave BIND DNS Server On Ubuntu 20.04

In our previous guide we covered the setup of Master(Primary) DNS Server. Here we'll learn that how to configure slave bind dns server on...
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 Docker Swarm On Ubuntu 20.04

In this tutorial, you'll learn that how to Install Docker Swarm on Ubuntu 20.04. Docker Swarm is most popular tool that can be used...

How To Install Keeweb Password Manager On Ubuntu 20.04

Today we are going to learn that how to install KeeWeb Passwrod Manager On Ubuntu 20.04. KeeWeb Password Manager provides the best and easy...

How to change the MAC address in Windows 10

Hello! How are you? Today we will see how to change the MAC address on a computer with Windows 10. In fact, it is...

How To Configure Slave BIND DNS Server On Ubuntu 20.04

In our previous guide we covered the setup of Master(Primary) DNS Server. Here we'll learn that how to configure slave bind dns server on...

Install Fossil on Linux – An alternative to Git

Hello, friends. In this post, we will talk about a serious alternative to Git. In a few words, we'll show you how to install...
x