Introduction
Git lets you set configuration options that control how it works. These settings can be saved globally for all projects or locally for just one project. This helps you customize Git behavior depending on your needs.
When you want your name and email to be the same for all your Git projects on your computer
When you need a different username or email for a specific project, like work vs personal
When you want to change Git settings like line endings or merge tools only for one project
When you want to check what settings are active in your current project
When you want to fix a problem caused by wrong Git settings in one project without affecting others