Getting Started with Git
Now's the time to get started with our first steps in using Git. First of all, we'll install it on Windows, MacOS and Linux, depending on your personal preference. Then, we'll configure it with some basic configurations, such as specifying which user we are to avoid retyping the credentials on each operation that requires authorization. Finally, we'll create a new file and commit it to our repository!
Installing Git
First, let's install Git on our computer. The three following sections explain how to do it on Windows, Mac OS, and Linux, respectively. Feel free to jump right to your favorite operating system.
Please note: The version used throughout this course is 2.30.0., which was released on the 28th of December, 2020. As significant releases of the tool get pushed, we'll update the course as necessary.
Windows
To install Git on Windows, we'll navigate to the official git-scm website's download page. Depending on your system, you can choose a portable or regular setup file. We'll go with the adequate version of the regular setup file.
Once downloaded, we can run the exe
file. Then, a wizard will guide us through the installation step by step. We'll go with the default options here.