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:

Track Changes
Create Commits
Create Branches
Merge Work
Compare Versions
Restore Earlier States
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中文小白理解
GitGit 版本控制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

  1. Git tracks code changes.
  2. Commits create recorded points in history.
  3. Branches allow parallel development.
Repository
Git
History
↑