[meta] Categorize .gitignore file
[meta] Gitignore the Composer lock file
[meta] Categorize example environment file

Add information about the different predefined variables that are available and group them into logical groups.