Git Configuration Explained | System vs Global vs Local (With Examples)

Опубликовано: 23 Май 2026
на канале: Esha Techie Hub
28
1

Git configuration can be confusing if you don’t understand its hierarchy.
In this video, I explain Git configuration levels — System, Global, and Local — in a simple and practical way with real-world examples.

You’ll learn:
✔ What Git configuration is and why it matters
✔ Difference between system, global, and local Git config
✔ How Git decides which config value to use
✔ How to set user.name and user.email correctly
✔ How Git config affects your GitHub commits
✔ How to avoid wrong username/email issues
✔ Useful Git config commands and pro tips

By the end of this tutorial, you’ll clearly understand Git configuration hierarchy and confidently configure Git for personal and work projects.

🧠 Commands Covered in This Video:

git config --system --list
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
git config --global--list
git config --local user.name "Your Name"
git config --local user.email "[email protected]"
git config --local--list
git config --list --show-origin


👨‍💻 Who Should Watch This?
Beginners learning Git
Developers facing GitHub username/email issues
Anyone confused about Git config priority
Students, professionals, and open-source contributors

Perfect for beginners and developers working with Git and GitHub.
👍 Like | 🔔 Subscribe | 💬 Comment

#Git #GitConfig #GitConfiguration #GitTutorial #GitForBeginners #GitHub #DevOps #LearnGit #Programming #GitTips