Scientists commonly need to write code but often lack formal training in software engineering.
One key element of professional software engineering is proper version control of code, allowing one to: develop and manage code effectively, backup the code online and go back to previous stages, detect introduced bugs faster, and collaborate on a shared codebase.
The undisputed standard tool of version control is git and ideally, all code should be put under version control.
So if your code is not yet managed with git, this course is for you!
This short course requires no prior knowledge of git and will introduce the fundamentals of working with git from the command line:
- clone a git repository
- make changes and check for them
- create commits
- back up our code online on Github
- switch between branches
- merge branches
We will show you how to do these steps, and then help you follow along.
Finally, you will have the possibility to put one of your own coding projects into version control.
Looking forward to seeing you at the workshop!
Konstantin, Ben, Philipp
You can find the workshop material here: https://github.com/k-gregor/git-workshop
Further reading: https://doi.org/10.5194/egusphere-2025-1733
Hands-on introduction to git for version-control of code
Co-organized by CR8/ESSI6/GD7