Open Scientific Code using Git and GitHub
A collection of explanations and short practical exercises to help researchers learn more about version control and working open.
- What is version control through Git & GitHub?
- Define version control & discuss it purpose.
- Practical exercises with Git & GitHub
- Practical exercise: Let’s get started with Git & GitHub through GitKraken
- Setting up a repository and uploading it
- Pushing and pulling changes.
- Practical exercise: Cloning and Collaborating: contributing changes
- Fork and clone a GitHub repository, make a change and contribute it through a pull request.
- Practical exercise: Cloning and Collaborating: managing contributions
- Share a GitHub repository and collaborate with colleagues using pull requests.
- Practical exercise: Website with GitHub pages
- Still not sold on using GitHub? You can use it to make a website with relatively low effort using
- Practical exercise: Trying more advanced things
- Extra stuff to investigate when you’re comfortable with the first few lessons
- Practical exercise: Let’s get started with Git & GitHub through GitKraken
- Additional resources
- excited by the thought of getting involved in the open scientific code community? Lots of good links to follow up.
Group exercises (Optional)
If you’re working on these in a group, you could also try these group exercises out. Break into groups of 4 to 7 people.
- Discuss open source
- Working openly with software and data: pros, cons, and pondering points.
- Review open source projects
- Look at an open source project you’re interested in. Can you figure out how to contribute?