To check if Git is configured with your username
git config user.name
To check if Git is configured with your email address
git config user.email
To configure the name that Git will associate with your work
git config --global user.name "Your Name"
To configure the email address in Git
git config --global user.email abc@test.com
Top comments (0)