A website starts with a few files. Git gives you a way to record what those files looked like at particular points in time. The project files and the history together make up your local Git workspace.
Git · Lesson 1
Repositories
Learn what a Git repository stores and start an empty repository for a small website.