Properly refresh branches.

Just calling `git reset --hard` on a branch name doesn't pull in
upstream changes.