How to permanently delete a folder containing git using the command line

I always forget how to do this, so I’m writing it down here.

simply cd into the folder that contains the folder you want to delete and run rm -rf FOLDERNAME. This will delete the folder and all of its contents.