This is a tutorial on Git using GitHub created by the Stony Brook Computing Society. This will go over ways to get Git on your computer whether it is a Mac, Linux, or a Windows Machine and basic Git Commands.
Used Tech Talk - A Comprehensive Introduction
First, Open a Terminal Window and test if you have git.
You can do this simply do this by typing git
into your terminal if you have Linux/Unix or Mac.
- Update your machine packages:
sudo apt-get update
- Install git with apt-get
sudo apt-get install git
- If you have homebrew installed, you can install git:
brew install git
- If you do not have homebrew on your machine, you can install git here:
- Git SCM -
- Download the Git SCM for Windows (Use Git Bash for more functionality.)