A restraint system for helping to protect an occupant of a vehicle having a roof and a cabin with a seat for the occupant includes an airbag having a stored condition within the roof and being inflatable to a deployed condition extending into the cabin and aligned with the seat. The airbag includes a first portion extending along the roof and a second portion extending away from the roof toward the occupant. The second portion being configured to fold away from the occupant in response to occupant penetration into the airbag.