If you’d like to upload an external template to Shopify, you should follow these steps:
go to the Theme library section;
click on Upload theme;
select the file that you want to upload;
upload the file.