I put a laravel project of my machine in git with the default git ignore.
Then to use on another pc I downloaded git from the command line and tried to install the composer:
composer install
But it does not install .env and other things but I'm not mistaken
Then I created a new project with the same name by the CLI, then copied the project that I downloaded from git and pasted over the new project and it worked.
I would like to know if there is a way with less gambiarra to make it work, ie without having to create a new project, download another from git and copy and paste into each other