#Commands to Overwrite Local Files:-
Use the following command to force overwrite local files from remote repository. We are assuming you are downloading changes from remote master branch.
$ git fetch --all
$ git reset --hard origin/master
>>To download changes from some other branch use the following command.