What was the object that collided with Earth, according to the giant-impact hypothesis?
A planet. According to the giant impact hypothesis Earth once collided with a planet of Mars size usually referred to as Theia, a titaness of Greek mythology, mother of Selene - Moon goddess, which is to reflect the believe the collision was an origin of the Moon.