Git Basic Configuration of username and e-mail

User name and e-mail
$ git config --global "Eugene Chechel"
$ git config --global

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