It sounds like you had Unreal Revision Control enabled for your projects but never used the CHECK IN CHANGES
button on the bottom right side of the screen to backup your work.
I recommend reading this: Unreal Revision Control | Unreal Editor for Fortnite Documentation | Epic Developer Community