Mostly by paying attention to the types of cars, road markings, and vegetation. For example, if the car is a Toyota Hilux, you can guess it is South Africa.
Geoguessr Free is a great way to start learning these visual cues!