the first humans to walk upright and gain the ability to control fire was homo erectus , who evolved around eight-hundred-thousand years ago and migrated throughout much of the world , giving rise to many different variations of prehistoric man .