In such problems of branches annoying restriction, the easy way is to clean the table, rename/delete the branch and checkout from the origin branch.
But lookout! if you have things that you might want to save (and it's typical in such situation - Backup your branch don't delete it.