【My Study Note】Installing Git
Installing Git on Windows
1. Download the latest version from here
2. Check the version to make sure if it’s downloaded
$ git version
Installing Git on Mac
Macs tend to have git installed by default, so before diving into the installation we can run a git version command to check if git is already installed. If the command returns a git version, then git is already installed. If it returns “command not found”, git needs to be installed.
Homebrew is a popular package manager for Macs. It’s easy to use and makes it simple to install new packages such as git. First, you will need to install Homebrew on your machine from here. Once Homebrew is installed, open a terminal window and then type the command:
brew install git
Once installed run the git version command to verify the installation is complete.