Switch branch names in git

There may be more than one way to ask this question, so here’s a desciption of the problem. I was working on master and committed some stuff and then decided I wanted to put that work on hold. I …