TOPIC 01/1816 MINNOT STARTED

Git setup from zero: install, identity, defaults and a settings check

Install Git, tell it who you are once, choose sensible defaults, and learn to list your settings and where each one comes from, before your first commit.

L1–L4 are part of the Pro pass

L0 Explain simply

Analogy: setting up a new phone before first use. You choose a language, sign in with your name and pick a few defaults. The phone remembers them, and every message carries your name. Work settings can override home settings.

The phone is Git on your computer. The sign-in is your , which is the name and email Git writes into every commit.

Tom, a tester at Daily List, a to-do list app, sets up his phone before he sends a message.

What it is: Git records snapshots of tracked project files and available commit history. Every records who made it and when. Git runs on your own computer and works without the internet. GitHub is a different thing. It is a website that stores Git projects so a team can share them. This topic is only the one-time set-up: install Git, give it your name and email, and choose a few defaults with the git config command.

Why it matters: Git writes your name and email into every commit, and a commit cannot be quietly changed later. If Tom skips set-up, his first commit may stop with an error, or carry a name Git guessed. If he sets the wrong email, every commit carries it. Clean set-up once saves Mei from asking who made a change that shows a blank or wrong name.

PLAIN WORDS · 2 in this section
snapshots
records of how things stood at one moment
github
a web site that hosts code and runs checks

PICTURE IT

The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.

THE REAL JOB Setting up a new phone before first use.

  1. Install
  2. Identify
  3. Check
New phone

HOW THE PICTURE MAPS

How each part of the picture matches the software
In the pictureIn the software
Choosing a language and signing inSetting your identity
Home settings and work settingsSettings levels
Looking up why a setting appliesA settings check
A message with your name on itA commit

WHERE THIS PICTURE STOPS

  • A phone has one owner, but a machine can have many users.
  • A phone setting is clicked, but Git settings are typed.
  • A message can be edited, but history is shared.

HOOK

Set up once, then use.

TELL A FRIEND

A new phone: set up once.

OFTEN MIXED UP WITH Version control for testers. That topic explains why teams use . This one installs and sets up Git before the first commit.

Sources & standards — 2 sources
  1. Market practice

    Git git-config manual (2.51.0) ↗ — Git project · Git 2.51.0 — FILES and SCOPES: system/global/local/worktree/command, precedence and origin/scope diagnostics.

    FILES and SCOPES: system/global/local/worktree/command, precedence and origin/scope diagnostics. · Checked 2026-11-07

    Selected publisher sections read for Testing Tools audit. Git 2.51.0. This is not live service testing or a full-publication certification.

  2. Market practice

    Git identity configuration ↗ — Git project · Git 2.51.0 — Full user.name/email section: author/committer metadata and environment overrides; authentication credentials are separate.

    Full user.name/email section: author/committer metadata and environment overrides; authentication credentials are separate. · Checked 2026-11-07

    Selected publisher sections read for Testing Tools audit. Git 2.51.0. This is not live service testing or a full-publication certification.

PRACTISE AND KEEP

Sources for this topic — 2 sources
  1. Market practice

    Git git-config manual (2.51.0) ↗ — Git project · Git 2.51.0 — FILES and SCOPES: system/global/local/worktree/command, precedence and origin/scope diagnostics.

    FILES and SCOPES: system/global/local/worktree/command, precedence and origin/scope diagnostics. · Checked 2026-11-07

    Selected publisher sections read for Testing Tools audit. Git 2.51.0. This is not live service testing or a full-publication certification.

  2. Market practice

    Git identity configuration ↗ — Git project · Git 2.51.0 — Full user.name/email section: author/committer metadata and environment overrides; authentication credentials are separate.

    Full user.name/email section: author/committer metadata and environment overrides; authentication credentials are separate. · Checked 2026-11-07

    Selected publisher sections read for Testing Tools audit. Git 2.51.0. This is not live service testing or a full-publication certification.

Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.