Skip to content

Chapter 6: GitHub, the world’s collaboration platform

If you’ve ever used Google Docs or a shared Dropbox folder to work on a document with a team, you already understand the spirit of GitHub.

GitHub is the world’s largest platform for hosting and sharing code. A lot of AI research, including the code for working with AI on LUMI, is hosted on GitHub. It isn't just a place to store files; it's a place where developers "track" every single change made to a project, allowing them to collaborate without accidentally overwriting each other's work.

Why do we use it on LUMI?

The AI community moves incredibly fast. Instead of downloading a static "version 1.0" zip file that becomes outdated in a week, we use GitHub to download the project in a way that lets us easily pull in (download) the latest updates.

The good news? Git (the tool used to talk to GitHub) is already installed and configured for everyone on LUMI. You don't need to install anything to start using it.

Getting the code: git clone

When you find an AI project on one of these platforms that you want to use, you "clone" it. Think of cloning simply as downloading the project directory, but with extra Git features attached.

The Command:

user@LUMI: ~
git clone https://github.com/username/project-name.git

You can easily get the link for git clone if you go to the Repository of the project, click the button code and copy the link in the HTTPS window as such:

A new directory will appear on your LUMI storage (e.g., in your /scratch directory) containing all the scripts, configuration files, and instructions from that Repository. Once cloned, don't forget to use cd repo-name to step inside your new directory before trying to run any scripts.

Staying up to date: git pull

AI developers frequently update their code (including LUMI guides and examples) to fix bugs or improve performance. If there has been new work published in the Repository, it doesn't automatically get reflected in your LUMI directory of the Repository. To "update" the directory and download the new changes, navigate inside your project directory and run:

user@LUMI: ~
git pull

This command checks GitHub for any new changes and "pulls" them down to your LUMI directory.

Learn more

Git is a deep and powerful tool used by professional developers. While clone and pull are enough to get you started as a user of someone else's code, you may eventually want to learn how to save your own changes and contribute back. For that, we recommend reading GitHub's short official introduction to Git and its basic commands:

About Git (Optional)

Or, for a more comprehensive, self-paced lesson that is also part of the LUMI training ecosystem, you can check out:

CodeRefinery: Introduction to version control with Git (Optional)

Summary checklist

  • You understand what GitHub is and why it is used on LUMI.
  • You know how to download a project from GitHub using git clone.
  • You know how to update your local copy with git pull.

Knowledge check

Chapter 6 Quiz
Question 1 of 3

Why do we use Git and GitHub to download code on LUMI instead of just downloading a standard `.zip` file?

© 2026 LUMI AI FactoryContent licensed under CC BY 4.0Code licensed under the MIT Licence

The LUMI AI Factory Service Center is funded jointly by the EuroHPC Joint Undertaking and the Participating States FI, CZ, DK, EE, NO, PL.