Lesson 02 — Setup and First Orientation
Confirm Git is installed and configured with your name and email.
Checklist
Section titled “Checklist”1. Confirm Git is installed
Section titled “1. Confirm Git is installed”Run:
git --version- I saw a Git version number.
If Git is not installed, ask your technical support contact or install Git from https://git-scm.com/.
2. Configure your name
Section titled “2. Configure your name”Run:
git config --global user.name "Your Name"- I configured my name.
3. Configure your email
Section titled “3. Configure your email”Use the email associated with your GitHub account when possible.
git config --global user.email "you@example.com"- I configured my email.
4. Confirm your Git settings
Section titled “4. Confirm your Git settings”Run:
git config --global --list- I can see my
user.name. - I can see my
user.email.
Important habit
Section titled “Important habit”git status is the most important beginner command. It tells you where you are and what Git sees.
You will use it constantly.
Practice task
Section titled “Practice task”Run:
git statusIf you are not inside a repository yet, Git may say something like:
fatal: not a git repositoryThat is okay. It just means you are not inside a Git-tracked project folder yet.
Completion check
Section titled “Completion check”- Git is installed.
- My name is configured.
- My email is configured.
- I know that
git statustells me what Git sees.