Teach "git checkout" to use git-show-ref