You can rename branches using
git branch -m oldname newname
(or just
git branch -m newname
if you want to rename the current branch). You can do that here too:
git branch -m master oldmaster
git branch -m F*****UP master
Note that if you want to push upstream now, you'll have to force push (by adding the
-f
argument to
git push
).