How to prevent GitHub Copilot from accessing .env

Two ways to stop GitHub Copilot from suggesting inside your .env files in VS Code, how to verify it worked, and where those fixes stop helping.