- Open Terminal
CTRL + ALT + T
sudo apt-get update
sudo apt-get install git
- Verify installation using
git --version
- Open Terminal
- Install Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install git
- Verify installation using
git --version
- Download the latest Git for Mac Installer
- Follow the prompts to install git
- Open terminal and verify the installtion using
git --version
- Download the latest Git for Windows Installer
- Launch the installer and follow the prompts
- Make sure you select the option to use git from Command Prompt
- Open Terminal or Command Prompt
git config --global user.name "Your Name"
git config --global user.email "Your Email Id"
List all files including hidden ls -al (ubuntu) ls -h (Windows)
Switch to a new branch git checkout -b develop