Last year a client called me about exactly this. Someone ran git log -p on a hunch and found a .env committed two years earlier, never caught.