.env added to gitignore but still added code example Example: .env in gitignore git rm .env --cached git commit -m "Stopped tracking .env File"