How can I restore a project as it was in the past?

In order to restore a project to a status as it was in the past, you'll have to first tag a change in the history of the project, then restore the project until the specified tag.

Follow the steps that are explained here: Restoring Projects / Branching Projects (in the past)