PART VIII · DEVELOPMENT & GIT
Git
A distributed version control system used to track changes in source code.
01
What is it?
Git is a version control system that records changes to files over time.
It helps developers create commits, work on branches, compare changes, merge work, and return to earlier versions.
Git tracks how code changes.
02
Think of it like...
Think of Git as a timeline for a software project.
Every important change can be recorded so the team can see what changed and when.
Code Change
Git
Commit History
03
What does it do?
Git helps developers:
04
Where is it used?
Git is used in:
Software Development
Team Collaboration
GitHub Projects
Open-source Projects
CI/CD Workflows
Local Development
05
Example
Conceptual commands:
git status
git add .
git commit -m "Add order validation"
Git records the selected code changes as a commit.
06
How it connects
Repository
Git
Commit
Branch
Merge
07
Do Not Confuse
Git ≠ GitHub
Git
The version control system.
GitHub
An online platform for hosting and collaborating on Git repositories.
Git = Version Control Tool
GitHub = Collaboration Platform
08
Topic Glossary
| ENGLISH TERM | 中文 | SIMPLE ENGLISH | 中文小白理解 |
|---|---|---|---|
| Git | Git 版本控制 | A distributed version control system. | 用来记录代码变化和管理版本历史的分布式版本控制工具。 |
| Version Control | 版本控制 | Tracking and managing changes to files over time. | 记录文件在不同时间发生哪些修改的机制。 |
| Commit | 提交 | A recorded snapshot of selected changes. | Git 中保存的一次代码修改记录。 |
| Branch | 分支 | An independent line of development. | 从主代码线分出去、可以独立修改代码的开发分支。 |
| Merge | 合并 | Combining changes from different branches. | 把不同分支上的修改整合到一起。 |
| Distributed | 分布式 | Each developer can have a full repository history locally. | 每个开发人员本地都可以拥有完整仓库历史。 |
09
What to Remember
- Git tracks code changes.
- Commits create recorded points in history.
- Branches allow parallel development.
Repository
Git
History