Topic 1

Git Installation

Install Git first, then set the name and email that should follow your commits across projects.

Outcome

Git is available in a new terminal and the global commit name and email are configured.

Before you start

  • Permission to install software or use the platform package manager.
  • The name and email address to record in future commits.

Verification state

Status
Needs review
Environment
Windows is the detailed installer path; macOS and Linux use official platform installation methods.
Workflow
Git installation, global identity configuration, and terminal verification.
Last verified
Pending a current-product walkthrough.
Operating-system support
Windows detailed; macOS and Linux supported through official package and command checks.

Install Git

Use the official installer or the standard package manager for your platform. The goal is to make the git command available in the terminal and in VS Code.

Start from the official Git homepage.

Git homepage

Then move to the download page and choose the installer that matches your operating system.

Git download page

The default installer options are fine for most setups. Confirm that the setup wizard starts normally.

Git installer steps

After the installer finishes, return to the terminal and verify that Git is available.

Git installation complete

Set your identity

Git records a display name and email address in your commits. Set them once before you begin repository work.

Open a new terminal with Ctrl + Shift + ` on Windows or Cmd + Shift + ` on macOS. Then enter the following command:

git config --global user.name "Your Name"
git config --global user.email "you@example.com"

Verify the install

Run the following commands:

git --version
git config --global --list

Confirm that Git responds normally and that your name and email are visible.

If git --version works and your global identity is set correctly, move on to the GitHub account step.

Common problems

  • A terminal opened before installation may not recognize the new git command.
  • The commit email should match an address accepted by the GitHub account or its no-reply setting.

Completion check

git --version succeeds and git config --global --list shows the intended name and email.