Basics of GIT for web-dev beginners👶
Basics of GIT for web-dev beginners👶
What is Git?
- Git is a distributed version control system.
- The entire codebase and history is available on every developer’s computer, which allows for easy branching and merging.
- It is used as Version Control System (VCS) for tracking changes in computer files.
Distributed version control
Coordinates work between multiple developers
Who made what changes and when
Revert back at any time
Local & remote repos
CONCEPTS OF GIT
Keeps track of code history
Takes “snapshots” of your files
You decide when to take a snapshot by making a “commit”
You can visit any snapshot at any time
You can stage files before committing
Difference Between Git & GitHub
GIT Installation
Linux(Debian) $sudo apt-get install git
Linux(Fedora) $sudo yum install git
Download for Mac
Download for Windows
Installation Process Steps:





And then Continue Next > Next > Next > Install

After Installation We need To configure git using git bash
git config –global user.name ‘YourName’
git config –global user.email ‘YourEmail’
Git Commands
Getting & Creating Projects
Basic Snapshotting
Branching & Merging
Sharing & Updating Projects
Inspection & Comparison
Example:
Follow the lesson from Microsoft Web-Dev-For-Beginners course