The Ubuntu 20.04 default apt repositories contains git packages. You can install git packages directly from the default git repositories. But they may not have the latest version of git client.
Git core team also maintains a PPA with latest git debian packages. You can add this ppa to your system and install the latest git on your system.
This tutorial will help you to install Git on Ubuntu 20.04 LTS Linux system.
Use the following steps to install Git on Ubuntu Linux system.
sudo apt install software-properties-common -y
sudo add-apt-repository ppa:git-core/ppa
sudo apt install git -y
That’s it, Git has been installed on your Ubuntu system.
Setup the Git user details on your machine, which is used as your identity by the Github or other repository providers.
To setup username and email address system wide, execute the following command. Make sure to change your name and email address with yours.
git config --gloabl user.name "Rahul Kumar"git config --gloabl user.email "rahul@example.com"
To configure identity for specific repository, remove --global from above command and run from your repository directory.
This tutorial explained how to install latest Git on Ubuntu 18.04 LTS Linux system via command line.
The post How to Install Git on Ubuntu 20.04 appeared first on TecAdmin.
From March 2-5 in Barcelona, Canonical will present a working wildlife conservation platform that combines…
2025: From RISC-V enablement to real execution 2025 was the year that RISC-V readiness gave…
You’ve almost certainly seen them… In the forest, rummaging through a dumpster, in poorly aging…
Jono Bacon, Stuart Langridge and myself present Bad Voltage, in which Bryan is sadly unavoidably…
The polls are closed and the official results are in. You can view the detailed…
coRAN Labs and Canonical at MWC Barcelona 2026 At MWC Barcelona 2026, coRAN Labs and…