You just need to do this then
cd git-project
rm -rf .git
cd ..
rm -r git-project
With rm
-r is for ®ecursion and -f is for F(force) disabled the prompting. So, use -f on the .git directory which has the files you want to obliterate, and leave it off for the safety prompts.
Most of us don’t have clusters so shutting down the server means taking the server and all associated services completely offline.
Do you take your product completely offline for 8 hours every single day?