- When you install Git for first time and try to commit a file to your project, you will receive a following error.
To fix the above issue, please run below commands
git config –global user.name”abc”
git config –local user.email “firstname.lastname@example.org”
After running above commands, you will be able to run the Git commit.