git checkout good-branch
git branch -D master
Big -D
is a blow-everything-away command, make sure this is what you want! You could alternately create a new branch off of the existing master for safe keeping and then delete master.
git checkout -b master