git replace local branch with remote

Shell
git reset --hard origin/master

Source

Also in Shell: