Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
– The Git website
Choose one of the following options.
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
– The Git website
Choose one of the following options.
Determine on which Linux distribution your system is based on. See List of Linux distributions – Wikipedia for a list. Most Linux systems – including Ubuntu – are Debian-based.
Open a terminal window. Copy & paste the following into the terminal window and hit Return
. You may be prompted to enter your password.
sudo apt update
sudo apt upgrade
sudo apt install git
You can use Git now.
Open a terminal. Copy & paste the following into the terminal window and hit Return
. You may be prompted to enter your password.
sudo yum upgrade
sudo yum install git
You can use Git now.
Homebrew […] simplifies the installation of software on the Mac OS X operating system.
Copy & paste the following into the terminal window and hit Return
.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew doctor
You will be offered to install the Command Line Developer Tools from Apple. Confirm by clicking Install. After the installation finished, continue installing Homebrew by hitting Return
again.
Copy & paste the following into the terminal window and hit Return
.
brew install git
You can use Git now.
It worked in Ubuntu
Thank you