Or perhaps, in the case of humanoids, sexual selection of which this one trait remains with us to this day. Naturally, this is all just guessing and logical assumption on my part.
Today, though perhaps even more defined, although more subtle (not as pronounced compared to others), when a man stands up straight, pulls his shoulders back, straightens his neck and lifts his chin, women and men take notice. Though it used to be the norm, today it seems like parents don't teach their children posture. In fact, in my circles the guys complain about needing to have their suits custom made because the back of the collar and shoulders are set for someone who stoops, so, they get a bulge of material across their shoulders with off the rack.
Immediately, when a man walks into a room with everyone else lazily hunched over and stands up straight, most eyes turn to him as the one in authority, that exudes confidence, aggressiveness, and power. People are very wrong if they don't think it makes a huge difference with women. In kind, simply by pulling your shoulders back, chest out and chin high confidently fixing your gaze on their eyes when you speak to people... instead of being some demure wilting flower, a woman will instantly project a dominance over other women and some men in the room. Most men appreciate it, some don't *shrug*... and that is today.
So, I strongly suspect, simply by standing more upright than your peers 'back then,' very possibly established a dominant posture that would have been noticed. If so, and if viewed as strength, then sexual selection would have resulted in an evolutionary shift very quickly.
How quickly? In my 20-years of hunting, portable tree-stand use as the norm for bow hunters had just started being utilized by the majority of hunters. The first couple of years it was so easy, most deer didn't 'look up,' that it was almost unfair. In roughly 3-seasons, it all equalized. Some deer I'm sure/know learned, others were clearly born with that natural trait to 'look up.' In perhaps ten seasons, so roughly five generations, the majority of deer looked up... and wise hunters left the trees and went back to the ground. Obviously, that's 'natural selection' of the fittest.
Sexual selection I suspect, might advance as quickly, if not more so regarding altering common traits causing an evolutionary shift.
K2
EDIT ~ Addition: Considering this line of thinking, it's actually not that unreasonable. Many animals, birds and even fish 'posture' whether competing for mates or to establish dominance. Those creatures with necks, will very often (though not all species) raise their heads and stiffen their frame. Even apes. So, I would assume that coupled with other factors determining natural selection, sexual selection might be influenced by those early humanoids simply tending to stand up more often than not.