Skip to content

Lesson 02 — Setup and First Orientation

Confirm Git is installed and configured with your name and email.

Run:

Terminal window
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/.

Run:

Terminal window
git config --global user.name "Your Name"
  • I configured my name.

Use the email associated with your GitHub account when possible.

Terminal window
git config --global user.email "you@example.com"
  • I configured my email.

Run:

Terminal window
git config --global --list
  • I can see my user.name.
  • I can see my user.email.

git status is the most important beginner command. It tells you where you are and what Git sees.

You will use it constantly.

Run:

Terminal window
git status

If you are not inside a repository yet, Git may say something like:

fatal: not a git repository

That is okay. It just means you are not inside a Git-tracked project folder yet.

  • Git is installed.
  • My name is configured.
  • My email is configured.
  • I know that git status tells me what Git sees.