One must be careful if they use docker.
I have seen people doing this in their Dockerfile
ADD . /src
To add all the sources in the image, and inadvertently just made public all the secrets that were in the .env file.Personally, I like to keep all my secrets very far from my repository.