Skip to main content
. Author manuscript; available in PMC: 2019 Nov 14.
Published in final edited form as: Am Stat. 2018 Nov 14;72(4):382–391. doi: 10.1080/00031305.2017.1356747

Figure 3.

Figure 3.

Using git and GitHub to organize course materials and submit homework. (A) The course website was built with GitHub pages and a public course repository was created to incorporate the course material (lectures, homework, solutions and data). (B) Private GitHub repositories were created for each student and each homework assignment that contained starter code with the homework assignment. (C) Homework assignments were created in R Markdown and specific code chunks were created for the students to add their code as solutions. (D) Once the student was satisfied with their solutions, the homework submission was committed to the private GitHub repository as an R Markdown and HTML. The TAs were able to quickly and efficiently access and grade the homework submissions in the individual repositories.