Fix "git branches" snippet in README

The previous snippet was checking out the refs and thus was resulting in a "detached HEAD state". This fix gets rid of the `refs/heads/` prefix".