git reset --hard HEAD
or
git reset --hard origin/<branch name>
After that take a pull using git pull command to pull all new commits.
git reset --hard HEAD
or
git reset --hard origin/<branch name>
After that take a pull using git pull command to pull all new commits.