I have a Yii project on one computer and I wish to sync it (via GIT) to other computers. I am able to use git to push the project to my git account and also pull to a remote computer. The vendor folder is not syncing (as is it part of the gitignore), but how do I get the vendor folder on the remote computer? Should I create a basic project on the remote computer the same way I did on the original? I read that I could just use composer update to add the vendor folder? but it was asking me for a token. I entered my GIT token but that didn’t work.
I am fairly new to git, so any assistance would be appreciated.