Skip to content

Exercise 02: Local Setup

Goal

Confirm your Git identity and safe defaults.

Tasks

  1. Run git config --global --list.
  2. Set user.name, user.email, and init.defaultBranch.
  3. Set pull.ff only.
  4. Create a test repo and confirm the default branch is main.

Reflection

  • Which email address will appear on public commits?
  • Why is pull.ff only useful for beginners?