how to add sitemap, GA/GSC code to Porter Pub theme

What is the best way to add sitemap to the Porter Pub theme?

What is the best way to add Google code to site?

thank you