LESSON 3
Installing Git
Learning objective: Install and configure Git on your computer.
Understand
A quick setup gets Git ready to use.
After installing Git, set your name and email once — these are attached to every commit you make. This identifies your work in the project history.
Analogy: Configuring your name is like signing your work before you start.
See It in Action
One-time configuration:
git config --global user.name "Your Name"
git config --global user.email "you@email.com"How it works: These commands store your identity globally so every commit is labelled with your name and email.
Try It Yourself
- Install Git for your operating system.
- Set your user name.
- Set your user email.
Quick Quiz
Why set your name and email in Git?
Challenge
Configure Git with your name and email and verify with git config --list.
Success condition: Your name and email appear in your Git configuration.
+10 XP
Lesson Complete
You answered correctly and completed the required practice. Your progress has been saved on this device.
Continue to next lesson →