composer create-project laravel/laravel src
cd src
git init
git remote add origin gitrepo/web.git
git remote set-url origin gitrepo/web.git
git checkout master
error: The following untracked working tree files would be overwritten by checkout
I tried git stash and git clean but was unable to find a solution.
@the-dude Happy to help. And be aware that this is only the first time (setup). Next time you just do git pull and then composer install. And the npm commands if needed