Let's get started with Git!
Installing Git
Before you can start using Git, first you have to install it. You can download Git for free from the following website: https://www.git-scm.com/
Using Git with Command Line
Open a terminal and verify the installation was successful by typing git --version:
$ git --version
It will display what version you are currently installed.
git version 2.36.1.windows.1
Configure your Git username and email using the following commands, replacing Kevin's name with your own. Your email should be the same when registering to GitHub. These details will be associated with any commits that you create:
$ git config --global user.name "Kevin Wines"
$ git config --global user.email "kevinwines1234@gmail.com"
Note: "--global" is used to set your username and user email globally. Meaning everytime you create a repository, it will serve as the default username and email.