set username git local code example
Example 1: git change email
git config --global user.email "[email protected]"
Example 2: set username git
git config --global user.name "My Name"
Example 3: git config --global user.name "Server"
cat .gitconfig