Configuring Git
user.name, user.email, core.editor and init.defaultBranch are common settings. --global applies to your user.
Example
git config user.name 'Ada'
git config user.email 'ada@example.com'
git config --get user.name
git config --list --local | grep user | sortResult
Ada user.email=ada@example.com user.name=Ada
Exercise
Read a setting.
git config user.name
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.