1 : to criticize severely : find fault with
2 : to reproach severely : scold vehemently
The Good Fairy repeatedly upbraided Little Bunny Foo Foo for bopping field mice on the head, but to no avail: the bopping continued apace.
Upbraiding has nothing to do with hair, although you could upbraid someone about their hair if you found it disagreeable enough.
The word upbraid has its roots in the Old English word ūpbregdan, which likely comes from ūp, meaning "up," and bregdan, meaning "to snatch" or "to move suddenly." Braid also comes from bregdan, which makes us curious about just how aggressive hair braiding was around the turn of the last millennium.