git fetch origin git reset --hard origin/master Remember this forever
git reset --hard origin/<branch-name>