Printing and PDF export are disabled for this content. View it online at Full Stack Learning Simplified.
Git Setup and Configurationπ± Beginner
Before you can start tracking files, you must configure your identity and initialize a repository in your project folder.
What is a Repository?
A Git Repository (or "repo") is simply a standard folder on your computer that contains a hidden .git/ directory. This hidden directory is the actual database where Git stores every single snapshot, branch, and configuration for your project.
Why Configure Your Identity?
Every time you take a snapshot (commit), Git permanently attaches a name and email to that change. This provides strict accountability, allowing teams to see exactly who introduced a bug (or built a brilliant feature) 5 years ago.
How to Setup Git
Open your terminal and configure your global identity:
bash
# Set your name (use quotes for spaces)
git config --global user.name "Alice Engineer"
# Set your email (should match your GitHub email)
git config --global user.email "alice@example.com"Next, navigate to your project folder and initialize the repository:
bash
# 1. Go to your project folder
cd my-awesome-project
# 2. Tell Git to start tracking this folder
git init
# 3. Check the status of your newly created repo
git statusCritical Warning: Never run
git init inside your root Desktop or Documents folder! This will turn your entire computer into a Git repository and drastically slow down your machine. Only run git init inside specific, isolated project folders.Free preview. Sign in and subscribe to unlock all 982 lessons across 31 courses.
Free preview Β· Β© 2026 Full Stack Learning Simplified