Chapter 2Getting Started with Git
Now that we have a basic concept of what a version control system does, let’s get our feet wet with Git.
The first step is to install Git. Git’s official website provides detailed instructions on installing Git on your local machine, depending on your operating system.
If you’re using Linux, you can install Git through the terminal using a package manager. For the popular Linux distro Ubuntu, Git can be installed using
apt-get install git
In OS X, if you have Homebrew, you can install Git using the command line through the following command:
brew install git
If you’re on Windows, the official build of Git can be downloaded from the Git website.
Tip: GUI Tools
For Windows and OS X, ...