Working with Git
This tutorial aims at demonstrating the basic principles and functionalities of Git-based version control. No prior knowledge on Git or command line use is required for the completion of the tutorial. Ready? Let's start!
1. Setup Git
Where to find your command line
For Windows:
- Click Start
- In the Search or Run line, type cmd (short for command), and press Enter.
For MacOS:
- Hit the keyboard shortcut ctrl+SPACE to open Spotlight search
- In the Search, type terminal and press Enter.
For Ubuntu:
- Hit the keyboard shortcut
Ctrl - Alt + TDownload Git at your computer
Git might already be installed in your computer! To check that, do the following: open your command line,
type git and press ENTER. If Git exists in your system, this should display a message about the usage
of Git. If not you should download Git.
Go to the link that corresponds to your laptop's OS and follow the instructions in order to download Git.
After downloading Git open your command line prompt and type the following command: git
If Git has been properly installed, this should display a message about the usage of Git.
2. Create an account on GitHub