--- without a .gitignore, git would add:
?? .env
?? data/laundry.db
?? env.example
?? php/lib.php
?? php/public/index.php
--- with the .gitignore of this problem:
?? .gitignore
?? env.example
?? php/lib.php
?? php/public/index.php
--- and git explains why .env is left out:
.gitignore:5:.env	.env
.gitignore:9:*.db	data/laundry.db
