I recently had to work on a git project that was created by taking a zip file of an existing git repo from another team, a junior engineer stomping on and corrupting the existing git project due to lack of familiarity with how git works, then committing said codebase to a new bit bucket managed git repo sans the 7+ years of commit logs from the other team. Fun times.
It didn’t immediately occur to me to try and preserve the history tbh. As I would find out the code base had so many other problems I doubt the history was worth anything at all. New job and all I just didn’t realize I was thrown into a boat that was taking on water until it was too late. Managing to get out intact but wow! What a hilarious project.