The position of the gear selector is an indicator.
Of course not knowing which gear you're in when you start the car is less a problem with a manual - interacting with the gear lever is a much more normal and automatic (irony) part of the driving experience so if you start rolling the wrong way you just pop it into a different gear and move on with your life.