Level 65
Is this a 'hosting server' with SSH access? I've been using Envoy tasks to deploy things recently for ease of use. vendor folder is created with composer install so either you can commit that too to git or leave it out (default) and run install on the server.
Example: https://docs.gitlab.com/ce/ci/examples/laravel_with_gitlab_and_envoy/#full-script