copy these files ( or what ever template you want to change ) to your theme directory and change it. the file location would be :
you can override any template by copying that file to your theme package. However, you need to take care some naming convention and path of files i.e
1 - if there is vendor module naming "
module-catalog" it will become
Magento_Catalog in your theme folder and if there is module in vendor "
module-grouped-product" it will become
Magento_GroupedProduct ( - will be removed and first letter will be become upper case )
2 - All your templates will be placed in templates folder and layout folders like ( Magento_Catalog/tempates , Magento_Catalog/layout ) there will not be any view and frontend folders.