30/09/2026
π Git Day 10: git config
In this episode of our 100 Days of Git Series, letβs understand the git config command and why it is important when starting with Git.
πΉ What is git config?
git config is a Git command used to set and manage Git configuration settings. One of the first things we configure in Git is our username and email address.
These details help Git identify the person who creates a commit.
πΉ Configure Username
To set your username globally, use:
git config --global user.name "Your Name"
The --global option means this configuration will apply to all Git repositories on your computer.
πΉ Configure Email
To configure your email:
git config --global user.email "[email protected]"
Use the email address you want to associate with your Git commits.
πΉ Check Your Configuration
You can verify your username and email using:
git config --global user.name
git config --global user.email
To view all Git configurations:
git config --list
π§ Simple Example
Think of Git configuration like creating your identity card for Git. Whenever you make a commit, Git uses the configured name and email to record who made that change.
π Key Takeaway
Before working with Git repositories and creating commits, configuring your identity is an important initial step. The git config command makes this configuration possible.
π Follow IntelliQ IT and continue our 100 Days of Git Series to learn Git step-by-step with practical concepts!
π Contact: 9133507542
π Website: intelliqit.com
AWS DevOps Training in Ameerpet Hyderabad
Best DevOps Course in Hyderabad
AWS Certification Training Ameerpet
DevOps Classes Near Me Hyderabad