Introduction to version control with Git

Ver­sion con­trol is an essen­tial skill for researchers and soft­ware devel­op­ers work­ing col­lab­o­ra­tive­ly or man­ag­ing evolv­ing projects. This two-day work­shop intro­duces par­tic­i­pants to Git, a wide­ly used ver­sion con­trol sys­tem, and pro­vides hands-on expe­ri­ence with man­ag­ing code effi­cient­ly. The work­shop is based on Car­pen­tries train­ing mate­ri­als and con­cludes with an intro­duc­tion to the 4TU.ResearchData repos­i­to­ry sys­tem.


Learning objectives

By the end of this work­shop, par­tic­i­pants will be able to:

  • Set up a local Git repos­i­to­ry.
  • Under­stand and apply the Git mod­i­fy-add-com­mit cycle.
  • View and inter­pret a pro­jec­t’s ver­sion his­to­ry.
  • Set up and man­age remote repos­i­to­ries using GitHub.
  • Fol­low best prac­tices for col­lab­o­ra­tion using Git and GitHub.
  • Famil­iar­ize them­selves with the 4TU.ResearchData repos­i­to­ry for data and soft­ware long term deposit.


Syllabus/Curriculum overview

Day 1

  • Morn­ing ses­sion (09:30 – 12:30): Intro­duc­tion to the Unix shell and com­mand line for ver­sion con­trol. (Option­al, based on the request)
    • Nav­i­gat­ing files and direc­to­ries
    • Basic file oper­a­tions
  • After­noon ses­sion (13:30 – 16:00): Intro­duc­tion to ver­sion con­trol with Git.
    • Under­stand­ing the ter­mi­nol­o­gy of Git
    • Cre­at­ing and man­ag­ing repos­i­to­ries
    • Track­ing changes and com­mit­ting updates

Day 2

  • Morn­ing & ear­ly after­noon (09:30 – 14:30): Advanced Git con­cepts and col­lab­o­ra­tion using GitHub.
    • Work­ing with remote repos­i­to­ries
    • Resolv­ing con­flicts
  • After­noon ses­sion (14:45 – 16:00): Intro­duc­tion to 4TU.ResearchData.
    • Overview of the repos­i­to­ry sys­tem
    • Best prac­tices for soft­ware and data shar­ing


Prerequisites

  • No pri­or expe­ri­ence with Git is required.
  • Basic famil­iar­i­ty with the com­mand line is ben­e­fi­cial but not nec­es­sary.


Target audience

This work­shop is designed for:

  • Researchers (PhD, Postdocs,Data stew­ards, staff mem­bers) look­ing to bet­ter man­age code and doc­u­men­ta­tion.
  • Researchers (PhD, Postdocs,Data stew­ards, staff mem­bers) inter­est­ed in col­lab­o­ra­tive soft­ware devel­op­ment.


Instructors

Leila Iñi­go de la Cruz


Resources

Par­tic­i­pants are encour­aged to bring their own lap­tops for hands-on exer­cis­es.

If you are inter­est­ed in orga­niz­ing one of those train­ings at your insti­tu­tion (cur­rent 4TU.ResearchData mem­ber’s insti­tu­tions), please approach our train­er Leila Iñi­go!