git match remote master

Shell
git fetch origin
git reset --hard origin/master
Source

Also in Shell: