Paŭlo Ebermann's answer is correct:
git checkout master
git reset --hard origin/master
And add that if you also wish to remove untracked files and ignored files:
git clean -xfn # dry run with -n
Source with further details: How to remove local (untracked) files from the current Git working tree?