Back to lessons
Git Configuration & Aliases
Customize Git behavior with config settings and time-saving aliases.
Step 1 of 520%
Git is highly customizable through its config system. Settings apply at system, global (user), and local (repository) levels, with local overriding global.
The three-level config hierarchy gives you fine-grained control. System-level applies to every user on the machine (rarely used outside of enterprise setups). Global-level applies to your user account across all repositories — this is where you set your name, email, and preferred editor. Local-level is per-repository, useful for project-specific settings like a different email address for work vs. personal projects.
1 / 5