I have worked on some Magento 2 Projects, the main problem is when I pull every Magento 2 projects from git and load the project in the browser it always asks me to do the fresh installation, even after I configure the
app/etc/env.php and the database properly
The issue is coming because it may be env.php has been committed in git repository. So, when ever you will doing git pull the local env.php is replace by remote env.php which is not compatible for local environment. So first delete the env.php from remote brunch and then put env.php in .gitignore file. Thus it will be ignore by git pull and push. In this way local env.php not replaced by remote env.php.