Wie Iggnor .Env im Github -Zweig verändert

go inside your terminal
this will remove your .env file from local 
then you change anything it will not appear in change for git hub commit

before run this command take backup of your .env file for local

$ git rm --cached .env

git commit -m ""
this will remove file from git repository on your branch 
shafeeque