Introduction
Last updated on 2025-08-14 | Edit this page
Estimated time: 5 minutes
Overview
Questions
- What is the point of these exercises?
- Where do I find tutorials and documenation on Git features?
Objectives
- Get an overview of existing Git tutorials
Is this a Git tutorial?
No, this is a hands-on session for you to exercise collaborative work using Git and GitLab so that you do not have to do it with your real projects.
Take your time to do it now, not when you are busy finalizing your analysis code.
Git tutorials
Excellent Git tutorials exist, the teaching approach varies.
- Git’s website: https://git-scm.com/doc
- introductory videos
- quick reference guides
- reference manual
- Git Pro book
- curated external links
- W3 schools: https://www.w3schools.com/git/default.asp
- CodeRefinery Git intro: https://coderefinery.github.io/git-intro/
- good emphasis on “why”
- starts by exploring an existing GitHub repository
- CodeRefinery Collaborative work: https://coderefinery.github.io/git-collaborative/
- very well explained exercises for collaborative work on GitHub
- HEP Software Foundation: https://hsf-training.github.io/analysis-essentials/git/README.html
- starts by working hands-on on a local repository
- explains CERN GitLab features
Where do we start from?
For this session, you should be familiar with the basic Git workflow of commits and pushes to the remote repository as listed in the setup instructions.
- Excellent Git tutorials exist.
- Take your time to work through them.