In .gitignore include only files that are needed to recreate the analysis. Unless critical, do not include intermediary analysis files that can be obtained quickly by re-running the code.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.