Don't use `reset --hard`; it's dangerous.

Doing a checkout and `git pull --rebase` is safer.