git set config username email code example
Example 1: git set email and name for repo
# For setting inside project folder
git config user.name "Neeraj Singh"
git config user.email '[email protected]'
Example 2: git set name and email
git config --global user.name "Peter"
git config --global user.email "[email protected]"