Earlier quoted context omitted.
Moving between refs is almost always done with checkout git checkout tag-name Tags are just a fancy label pointing to a commit so you can use them anywhere you'd use a sha1 or branch name.
Or, if you don't want to keep untracked files: git reset --hard
This destroys untracked changes and resets your current branch-pointer to , removing all the commit-history that comes after . (You can still recover them from the database, e.g. with "git reflog")