Welcome to “Introduction to Git” course

This material

Here you will find the content of the workshop “Introduction to Git”.

Content

  • This course aims to give a brief, but comprehensive introduction to using Git from the command line, as well as using GitHub.
  • You will learn about

    • Basic commands
    • Basic concepts
    • The commit tree
    • Branches
      • merges
      • conflicts
    • Remote repositories
    • Git in teamwork
  • We aim to give this course every fall.

Warning

Target group

  • This NAISS course is a given as a cooperation between trainers from the NAISS branches HPC2N and UPPMAX.
  • It is open for anyone in Swedish academia.
  • You will be using your own computer or other existing computer access for the course. If you do not have access to a computer that can run Git (or which you can install Git on), then there will be an option to use NAISS resources for this (Tetralith).

Pre-requirements

Some practicals

Zoom

  • You should have gotten an email with the links
  • Main room for lectures (recorded)
  • Possibly breakout rooms
    • exercises, including a silent room for those who just want to work on their own without interruptions. help
  • The lectures and demos will be recorded, but NOT the exercises.
    • If you ask questions during the lectures, you may thus be recorded.
    • If you do not wish to be recorded, then please keep your microphone muted and your camera off during lectures and write your questions in the Q/A document (see more information below about the collaboration documents which are also listed above).
  • Use your REAL NAME.
  • Please MUTE your microphone when you are not speaking
  • Use the “Raise hand” functionality under the “Participants” window during the lecture.
  • Please do not clutter the Zoom chat.
  • Behave politely!

Q/A collabration document

Important info document

Recordings

Evaluation

This course is under development and will probably change a little bit before the next instance of it. There is an evaluation survey. Please help us by filling it after the course so we can use your input to make the next installment of the course better. You can find it here: https://forms.office.com/e/W3Pd3mP8rC.

Preliminary schedule

Monday, 2025-11-03

Time Topic Activity Teacher
08:30 Optional installation help (Git) All
09:00 Introduction and course info Lecture Birgitte
09:10 0. Setup Lecture+code along Birgitte
09:30 1. Why use version management? Lecture Birgitte
10:00 Break (15 min)
10:15 2. Basic commands, part 1 Lecture+code along+exercises Pedro
11:15 Break (15 min)
11:30 2. Basic commands, part 2 Lecture+code along+exercises Pedro
12:00 End of first day

Tuesday, 2025-11-04

Time Topic Activity Teacher
09:00 3. Basic concepts, part 1 Lecture+code along Birgitte
10:15 Break (15 min)
10:30 3. Basic concepts, part 2 Lecture+code along+exercises Birgitte
11:20 Break (10 min)
11:30 4. Traversing the commit tree, part 1 Lecture+code along Diana
12:00 End of second day

Wednesday, 2025-11-05

Time Topic Activity Teacher
09:00 4. Traversing the commit tree, part 2 Lecture+code along+exercises Diana
10:15 Break (15 min)
10:30 4. Traversing the commit tree, part 3 Lecture+code along+exercises Diana
11:00 Break (10 min)
11:10 5. Branches, merges, and conflicts, part 1 Lecture+code along Diana
12:00 End of third day

Thursday, 2025-11-06

Time Topic Activity Teacher
09:00 5. Branches, merges, and conflicts, part 2 Lecture+code along+exercises Diana
09:55 Break (10 min)
10:05 Brief intro to SSH-keys and using GitHub Lecture+code along Birgitte
10:15 6. Working with remotes, part 1 Lecture+code along Pedro
10:55 Break (10 min)
11:05 6. Working with remotes, part 2 Lecture+code along+exercises Pedro
12:00 End of fourth day

Friday, 2025-11-07

Time Topic Activity Teacher
09:00 7. Teamwork, part 1 Lecture+code along+exercises Birgitte
09:55 Break (10 min)
10:05 7. Teamwork, part 2 exercises All
10:50 Break (10 min)
11:00 7. Team work, part 3 exercises All
11:50 Summary+evaluation
12:00 End of the course