That is very possible to do. People overwrite their save data or their files without any VCS getting in the way.
It’s not like you need the history (is this a refactor or something else? doesn’t matter) so you don’t need to keep around such failed attempts.