But first things first: what even is a Git repository? Imagine that a Git repo is a scrapbook for your code.
A scrapbook is a homemade book where you keep special memories by sticking them onto the pages. Those memories could be anything: drawings, photos, ticket stubs, pressed flowers, leaves. We will call any item that can be stuck into a scrapbook a memento. Think of each memento as one of your project's code files at a given point in time.