How I Dealt with an Exposed API Key on GitHub

Recently, I made a serious mistake: I accidentally exposed my Gemini API key in a remote GitHub repository.