A tip I saw some time ago is to do:
rm folder -rf
Additionally you could move the git folder to the trash folder. I think it’s usually located at $HOME/.local/share/trash/files/
Then you can delete it from the trash once you’re certain you got the right folder
For this same dumb reason I wanted to play Forza Motorsport 7 on PC and couldn’t buy it.
And somehow you can still get NFS games that are at least 10 years old I think