Repository
A repository is a project folder that remembers all its past versions.
In a simple example
Your bakery site lives in a repository. Each time you save a version, the repository adds it to the history.
Why it matters to you
It keeps your work safe and lets your hosting pick up the newest version by itself.
Do not confuse with
A repository is the project folder. GitHub is a website that keeps repositories online.