Git Config
Settings live at three levels: system, global (your user) and local (one repo). Local settings win. Set your name and email before the first commit.
Example
git config user.name 'Ada'
git config user.email 'ada@example.com'
git config user.name
git config --local --list | grep userResult
Ada user.name=Ada user.email=ada@example.com
Exercise
Read a setting.
git config .name
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.