1. For global configuraion - it will set username and email to globally for all
folder


$ git config --global user.name "Kahnu Charan Swain"

$ git config --global user.email djkanha044@gmail.com




For a specific folder (git directory)

$ git config --local user.name "Kahnu Charan Swain"

$ git config --local user.email djkanha044@gmail.com


else you can directly set user and email to cofig file

go to > .git > config and add the below code to that last of the file

[user]
name = kahnu
email = kahnuc.swain@nettantra.net