Google Ai studio has a security issue

When sync with github the api key for firebase is revealed in the code repository instead of it been hidden by introducing gitignore or .env