Sorry to hear about your situation, it really sucks. Curious, if you can shed more light on how the .env was exposed?
Is there an automated strategy that protects against slipups like this?
echo -e >>~/.config/git/config '[core]\n excludesFile = ~/.config/git/gitignore'
echo >>~/.config/git/gitignore '.env'