-
-
Save DevopsvivekS/9b2711eff87cdf6156eba8ae4faad51c to your computer and use it in GitHub Desktop.
Installing Git on Linux, Mac OS X and Windows
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.
1.a – Ubuntu-based and Debian-based linux distributions
Open a terminal, type the following and press Enter.
sudo apt-get install git1.b – Red Hat-based linux distributions
Open a terminal, type the following and press Enter.
sudo yum install gitYou're done!
Open a terminal, type the following and press Enter.
xcode-select --installIf this command didn't work, try the following. Otherwise go to step 2.
- Go to https://developer.apple.com/downloads/
- Login with your Apple ID credentials
- Search for
command line tools - Find the latest entry, download it and install it
2. – Install Homebrew
Open a terminal, type the following and press Enter.
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"Type the following an press Enter.
brew install gitYou're done!
- Go to http://msysgit.github.io/
- Click
Download, install Git
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment