Recover Game Mode Base?

So I had to revert to an earlier Source Tree Commit and I somehow lost my Game Mode Base, have a blueprint class already based on it. The Game Mode files are still in VS but not in Unreal and I can’t add a new one due to the name already used, totally stuck. Is there a way to pull the files from VS or recover a deleted Game Mode?