Week 2
Version Control, Collaboration & Reproducible Workflows
Introduction
This week we move from writing code individually to managing and collaborating on code. We introduce Git, GitHub, branching, and basic principles for making data and code more reproducible.
Learning goals
Understand the fundamentals of Git and GitHub
Create and manage a GitHub repository
Understand commits, issues, branches, and merge conflicts
Apply naming conventions and FAIR data principles
Lecture - Version Control Systems & Integration
Introduction to Git and GitHub, repository structure, commits, and collaborative workflows.
Lab - Broken Online, Merge Conflicts & Branching
Hands-on practice with GitHub workflows, resolving merge conflicts, creating branches, and merging changes.
Discussion - Naming Conventions & FAIR Principles
Why do consistent naming and data management practices matter?
Introduction to file and variable naming conventions and the FAIR principles: Findable, Accessible, Interoperable, and Reusable.
Assignment
Create a repository
Make an initial commit
Create an issue
Fix the issue and commit the change
Create and merge a branch
Looking ahead
Next week we will move from managing code to working with cloud computing, APIs, and agricultural data infrastructure.
::: {style=“font-size: 0.875em;”} Back to course schedule ⏎ :::