Password.txt Github
In his haste, Alex decided to create a password.txt file to store all his sensitive information. He wrote down the credentials in plain text, thinking that he would never share the file with anyone and that it would be safe on his local machine.
Store these variables in a local .env file that is listed in your .gitignore . 3. GitHub Secret Scanning and Push Protection password.txt github