PART VIII · DEVELOPMENT & GIT

Repository

A managed location that stores a software project's code, files, and version history.

01 · What is it?

What is it?

A repository is a managed location used to store a project's source code and related files.

With Git, a repository also contains version history showing how the project changed over time.

Simple Definition: A repository is the home of a software project's code and history.

02 · Think of it like...

Think of it like...

Think of a repository as a project folder with memory.

It stores the files, but it also remembers how those files changed.

Project FilesVersion HistoryRepository
03 · What does it do?

What does it do?

A repository can store:

Source Code
Configuration
Documentation
Tests
Version History
Branches
04 · Where is it used?

Where is it used?

Repositories are used in:

Software Projects
Git
GitHub
Team Development
CI/CD
Open-source Projects
05 · Example

Example

my-project/
├─ app.py
├─ requirements.txt
├─ tests/
└─ README.md

When this project is initialized with Git, the folder becomes a Git repository.

06 · How it connects

How it connects

Source CodeRepositoryGitCommitBranch

Git tracks changes inside a repository.

07 · Do Not Confuse

Do Not Confuse

Repository

The project and its version-controlled files.

GitHub

A platform that can host Git repositories online.

Repository = Project Storage + History
GitHub = Hosting / Collaboration Platform

08 · Topic Glossary

Topic Glossary

ENGLISH TERM中文SIMPLE ENGLISH中文小白理解
Repository代码仓库A managed location containing project files and version history.保存项目文件并管理版本历史的位置。
Repo代码仓库A common short form of repository.Repository 的常见简称。
Local Repository本地仓库A repository stored on a local computer.保存在开发人员自己电脑上的 Git 仓库。
Remote Repository远程仓库A repository stored on another server or platform.保存在 GitHub 等远程平台上的代码仓库。
Working Tree工作目录The current project files being edited.开发人员当前正在查看和修改的项目文件。
Version History版本历史Recorded information about past code changes.项目过去每次代码修改形成的历史记录。
09 · What to Remember

What to Remember

A repository stores project files and version history.

Git manages repositories.

Repositories may exist locally and remotely.

Source CodeRepositoryVersion History
↑