This simple guide will introduce you to the most common Version Control System (VCS) known as Git. It will guide you through an example of how to set up a local repository that connects with GitHub, along with some collaboration strategies.
Useful links:
Learn Git with Bitbucket Cloud | Atlassian Git Tutorial
An introduction to Git: what it is, and how to use it (freecodecamp.org)
Introduction to Git - Training | Microsoft Learn
GitHub is a website that hosts files, whether it be code, pdfs, images or else. It is commonly used to host program files in what is called a ‘repository’.
You can think of a repository like a directory in the sense that it is a folder that contains files and other folders.