Sage 10: What is the best way to build theme locally and push to github, ready for remote use?

So WordPress installs the theme as ZIP file?
Does the ZIP file contain vendor/ and the files that would composer install.