So entfernen Sie die .EnV -Datei aus Git -Cache

git rm .env --cached
git commit -m "Stopped tracking .env File"
Agreeable Angelfish