Warning message

Submissions for this form are closed.

Introduction to Git, 9-12 November 2021

Introduction to Git

The course will be an introduction to version control, with a focus on Git.

Some of the main concepts, like repositories, commits, trees, branches, and merges will be covered, as will many of the basic commands, like clone, add, push, pull, commit, and fork.

The lectures will be complemented by hands-on, during which the participants will learn both how to do simple Git commands as well as more complex cases. The hands-ons will mainly be done using GitHub.

Purpose: Learn what Version Control is and how to get started using Git.

Format: The course will be four half-days and comprises of lectures and hands-on sessions. This is an online-only course (Zoom)

Audience: This HPC2N course is part of the PRACE Training courses. It is open for academics and people who work in industry in the PRACE member countries.

Requirements:

  • Basic knowledge of using the command line.
  • Basic knowledge of using a text editor of your choice on your system.
  • A GitHub user account.
  • A reasonably recent version of Git installed on your system. See the Git homepage.

Date: 2021-11-(9-12)
Time: 8:30-12:00 on the first day (the first half-hour is an optional Git installation/Kebnekaise login-session for those that need it), 9:00-12:00 on the rest of the days.
Deadline for registration: 2021-11-01. CLOSED. The course if full!

EXERCISES

You can download the exercises from here: https://github.com/hpc2n/course-intro-git

SLIDES

The slides can be found on HackMD: https://hackmd.io/@hpc2n-git-2021

LECTURES

Recordings of the lectures can be found here: https://www.youtube.com/watch?v=Bj_sv9qqRsc&list=PL6jMHLEmPVLw935ifGPa0IeF26Do-JIH2

Preliminary schedule

Tuesday, 2021-11-09

08:30 A. Optional installation help (Git)
09:00 0. Introduction and setup
09:30 1. Why use version management?
10:00 Break (15 min)
10:15 2. Basic concepts
11:15 Break (15 min)
11:30 3. Basic commands, part 1
12:00 End of first day

Wednesday, 2021-11-10

09:00 3. Basic commands, part 2
10:00 Break (10 min)
10:10 4. Traversing the commit tree, part 1
11:15 Break (15 min)
11:30 4. Traversing the commit tree, part 2
12:00 End of second day

Thursday, 2021-11-11

09:00 5. Branches, merges, and conflicts
10:15 Break (10 min)
10:25 6. Working with remotes, part 1
10:55 Break (15 min)
11:10 6. Working with remotes, part 2
12:00 End of third day

Friday, 2021-11-12

09:00 7. Teamwork, part 1
09:55 Break (5 min)
10:00 7. Teamwork, part 2
10:45 Break (15 min)
11:00 7. Team work, part 3
12:00 End of the course

Course project: As part of the hands-on, you may be given temporary access to a course project, which may be used for running some of the hands-on examples. There are some policies regarding this, that we ask that you follow:

  • You may be given access to the project before the course; please do not use the allocation for running your own codes in. Usage of the project before the course means the priority of jobs submitted to it goes down, diminishing the opportunity for you and your fellow participants to run the examples during the course. You can read more detailed information about the job policies at HPC2N here.
  • The course project will be open 1-2 weeks after the course, giving the participants the opportunity to test run examples and shorter codes related to the course. During this time, we ask that you only use it for running course related jobs. Use your own discretion, but it could be: (modified) examples from the hands-on, short personal codes that have been modified to test things learned at the course, etc.
  • Anyone found to be misusing the course project, using up large amounts of the allocation for their own production runs, will be removed from the course project.

The course used computing resources provided by the Swedish National Infrastructure for Computing (SNIC) at HPC2N partially funded by the Swedish Research Council through grant agreement no. 2018-05973.

Registration

Please fill in the below form to sign up. All fields marked with * are required. CLOSED. The course is full.

Updated: 2024-04-17, 14:47