aside from already mentioned hooks you can add global .gitignore for .env files