restore: Implemented with rebase and reset. (Do not forget to reset manually in case...