Training materials and slides for courses on version control, clean code and documentation with practical examples and exercises in Python and R
Comprehensive training materials for teaching researchers how to write maintainable, well-documented code and collaborate effectively using version control. Includes crash courses and a full 4-day course with practical examples in Python and R, plus AI-assisted coding workflows.
These materials were created by the University of Basel’s Research and Infrastructure Support RISE (rise@unibas.ch) between 2023 and 2026.
Read this file on GitHub pages.
Note that there are different versions of this course, see the changelog for details.
Course on version control, clean code and documentation in clean-code/course
Comprehensive 4-day hands-on course (15+ hours) covering:
Target audience: Researchers and graduate students wanting comprehensive software development skills
Crash-course on version control, clean code and documentation in clean-code/crash-course
Condensed version covering core topics in 3-6 hours.
Crash-course on version control and documentation with GitHub in clean-code/crash-course-github
Focused crash course on GitHub workflows and documentation.

This work is licensed under a Creative Commons Attribution 4.0 International License.