OECD Software Carpentry: Git Workshop

OECD

Dec 12-13, 2023

9h30 – 17h30 and 9h30 – 13h

Instructors: Omayma Said, Juergen Amann

Helpers: Maria Paula Caldas, Manuel Betin, Samuel Pinto Ribeiro

General Information

The Carpentries project comprises the Software Carpentry, Data Carpentry, and Library Carpentry communities of Instructors, Trainers, Maintainers, helpers, and supporters who share a mission to teach foundational computational and data science skills to researchers.

Want to learn more and stay engaged with The Carpentries? Carpentries Clippings is The Carpentries' biweekly newsletter, where we share community news, community job postings, and more. Sign up to receive future editions and read our full archive: https://carpentries.org/newsletter/

Software Carpentry aims to help researchers get their work done in less time and with less pain by teaching them basic research computing skills. This hands-on workshop will cover basic concepts and tools, including program design, version control, data management, and task automation. Participants will be encouraged to help one another and to apply what they have learned to their own research problems.

For more information on what we teach and why, please see our paper "Best Practices for Scientific Computing".

Who: The course is aimed at graduate students and other researchers. You don't need to have any previous knowledge of the tools that will be presented at the workshop.

Where: OECD Boulogne, Dôme Nord, 46 Quai Alphonse le Gallo, 92100 Boulogne-Billancourt. Get directions with OpenStreetMap or Google Maps.

When: Dec 12-13, 2023. Add to your Google Calendar.

Requirements: Participants must bring a laptop with a Mac, Linux, or Windows operating system (not a tablet, Chromebook, etc.) that they have administrative privileges on. They should have a few specific software packages installed (listed below).

Accessibility: We are committed to making this workshop accessible to everybody. For workshops at a physical location, the workshop organizers have checked that:

Materials will be provided in advance of the workshop and large-print handouts are available if needed by notifying the organizers in advance. If we can help making learning easier for you (e.g. sign-language interpreters, lactation facilities) please get in touch (using contact details below) and we will attempt to provide them.

Contact: Please email Stephen.KEANE@oecd.org or Juergen.AMANN@oecd.org for more information.

Roles: To learn more about the roles at the workshop (who will be doing what), refer to our Workshop FAQ.


Code of Conduct

Everyone who participates in Carpentries activities is required to conform to the Code of Conduct. This document also outlines how to report an incident if needed.


Collaborative Notes

We will use this collaborative document for chatting, taking notes, and sharing URLs and bits of code.


Surveys

Please be sure to complete these surveys before and after the workshop.

Pre-workshop Survey

Post-workshop Survey


Schedule

Day 1

09:30 Pre-workshop survey
10:00 Version Control with Git
10:30 Morning break
11:00 Version Control with Git (Continued)
12:30 Lunch break
13:00 Version Control with Git (Continued)
14:30 Afternoon break
15:00 Version Control with Git (Continued)
16:00 Wrap-up
16:30 END

Setup

To participate in this Git Software Carpentry workshop, you will need access to software as described below. In addition, you will need an up-to-date web browser.

We maintain a list of common issues that occur during installation as a reference for instructors that may be useful on the Configuration Problems and Solutions wiki page.

Git

What is Git? Git is a version control system that lets you track who made changes to what when and has options for easily updating a shared or public version of your code on gitlab.com. You will need these system requirements to install and use GitLab.

How do I use Git on my private devices for collaborations? You will need an account at gitlab.com for parts of the Git lesson. Basic GitLab accounts are free. We encourage you to create a GitLab account if you don't have one already. Please consider what personal information you'd like to reveal. For example, you may want to review these instructions for keeping your email address private provided at GitLab.

How do we use Git at the OECD for collaborations? The OECD hosts Gitlab at https://gitlab.algobank.oecd.org/. The Algobank is the OECD’s Gitlab. Everybody at the OECD has an account in the Algobank, but your account is on hold until your first connection. When you navigate to the Algobank, your account will be automatically activated.

How do I install Git? We provide information on how to install Git on your OECD as well as private device below.

For macOS, install Git for Mac by downloading and running the most recent "mavericks" installer from this list. Because this installer is not signed by the developer, you may have to right click (control click) on the .pkg file, click Open, and click Open on the pop up window. After installing Git, there will not be anything in your /Applications folder, as Git is a command line program. For older versions of OS X (10.5-10.8) use the most recent available installer labelled "snow-leopard" available here.

Video Tutorial

If Git is not already available on your machine you can try to install it via your distro's package manager. For Debian/Ubuntu run sudo apt-get install git and for Fedora run sudo dnf install git.