Comment iggnor .env change dans la branche github

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