Install git on (Mac Os x), Windows, Linux(Ubuntu). In this tutorial we will share with you how to install git on (Mac OS X), Windows and Linux (Ubuntu). Today we will show you each thing step by step.
In windows and mac os x first we download installer on system and after that we will click on setup wizard that time open prompt, answer some prompt and successfully downlaod and installation git on windows, (mac os x).
Install Git For Windows, Mac OS X, Linux
See the following steps to install git on windows, mac os x and linux system; as shown below:
- Git on Mac OS X
- Git on Windows
- Install Git on Linux
Install Git on Mac
There are many ways to download Git on a Mac. If you have installed XCode (or it’s Command Line Tools), Git may already be installed. To find out, open a terminal and enter => git –version
git --version
Git for Mac Installer
The easiest way to download Git on a Mac is via the stand-alone installer :
Download the latest Git for Mac installer.
Follow the prompts to install Git.
Open a terminal and verify the installation was successful by typing
git –version :
git --version
If you want to specify a User and Password information to Git repository, then use the following command. Replacing tutsmake name with your own.
git config --global user.name "tutsmake"
git config --global user.email "[email protected]"
Install Git with Homebrew
If you have installed Homebrew to manage packages on OS X, you can follow these instructions to dowload Git. Go to the Homebrew website.
Open your terminal and install Git using Homebrew use this => brew install git:
brew install git
Verify the installation was successful by typing command git –version:
git --version
If you want to specify a User and Password information to Git repository, then use the following command. Replacing tutsmake name with your own.
git config --global user.name "tutsmake"
git config --global user.email "[email protected]"
Install Git on Windows
Download the latest Git for Windows installer.
When you’ve successfully started the installer, you should see the Git Setup wizard screen. Follow the Next and Finish prompts to complete the installation. The default options are pretty sensible for most users.
Open a Command Prompt (or Git Bash if during installation you elected not to use Git from the Windows Command Prompt).
If you want to specify a User and Password information to Git repository, then use the following command. Replacing tutsmake name with your own.
git config --global user.name "tutsmake"
git config --global user.email "[email protected]"
Install Git on Linux
Debian / Ubuntu (apt-get)
The easiest way to install Git is by using a Linux (ubuntu) package manager. Use the following command to download git on Linux. From your shell :
sudo apt-get update
sudo apt-get install git
Verify the installation was successful by typing git –version:
git --version
If you want to specify a User and Password information to Git repository, then use the following command. Replacing tutsmake name with your own.
git config --global user.name "tutsmake"
git config --global user.email "[email protected]
We have successfully Installed git on (Mac Os x), Windows, Linux(Ubuntu). Also we have checked installed latest version of git on command prompt.