git config --global user.name "user name" code example
Example 1: set email git
git config --global user.email "[email protected]"
Example 2: get git username and email
git config user.name
git config user.email
git config --global user.email "[email protected]"
git config user.name
git config user.email