vcs is a R package that allows users to gain control over their remote repositories on a version control system from within R.
devtools::install_github('metrumresearchgroup/vcs')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.