Config • GitHub & Git Foundations
User Info
First thing we need to do is to ensure that user name and email set are done correctly , this important ownership of our work
Line ending and and colors
Line endings are particularly important as there are differences in platforms (Mac, Linux, Windows) and Git can help normalize those files being checked into the repository through settings like core.autocrlf.
Color is also important as it supplements Git commands with red we might know that's something is being worked on
and when we get something in green that means its good t go go
and when we get something in yellow, and other colors to indicate the state of that code, line, branch, or commit.
Useful settings
There are three levels of settings: system, global, and local. The local setting is the closest to us and takes the most precedence, followed by global, and system.
Its important to set these settings the appropriate level, with the level closest to the setting winning, just like Object-Oriented inheritance the level closest to the setting