I have two branches in my git repo master and production. The main difference is that in production, the vendor directory has been checked in and is not present in the .gitignore
My issue is when I switch from production to master
git checkout master
the whole vendor directory gets wipped out.
What are my options?