Git Basic Configuration of username and e-mail

User name and e-mail
$ git config --global user.name "Eugene Chechel"
$ git config --global user.email johndoe@example.com

any other settings can be listed with

$ git config --list

And configures same way

Git pull override local changes

To set you code to the latest branch code and override you local changes  or if you see message like “Your local changes to the following files would be overwritten by merge” on pull

do following:

git fetch --all
git reset --hard origin/YourBranchName

Thanks