CSE 163
Version Control
Arpan Kapoor�Summer 2026�
#2348882
Announcements
#2348882
Version Control
What are its benefits and why do we use it?
3
#2348882
What is Git?
4
4
#2348882
Git vs. GitHub, GitLab, etc.
5
#2348882
Repositories
6
#2348882
Repositories
7
#2348882
Developer 1
Developer 2
Remote Repository
Push/Pull Changes
Integrated Development Environments
8
#2348882
Terminal Review
9
#2348882
Terminal Review
10
#2348882
11
#2348882
The 4 Stages of Git
Working Directory
Working changes in your development environment
Staging Area
Changes you’re preparing to commit
Local Repository
Local copy of the repository with your committed changes
git stage
git commit
Remote Repository
Remote shared repository on Github, Gitlab, etc.
Git Commands
Usage: git init
12
#2348882
Git Commands
Usage: git status
13
#2348882
Git Commands
Usage: git add <file1> <file2> ...
14
#2348882
Git Commands
Usage: git commit -m “commit msg”
15
#2348882
16
#2348882
The 4 Stages of Git
Working Directory
Staging Area
Local Repository
Working changes in your development environment
Changes you’re preparing to commit
Local copy of the repository with your committed changes
Remote Repository
Remote shared repository on Github, Gitlab, etc.
git stage
git commit
git push
git pull
More Git Commands
Usage: git clone <URL>
17
#2348882
More Git Commands
Usage: git push
18
#2348882
More Git Commands
Usage: git pull
19
#2348882