Git – Distributed Version Control Systems
- Git is a distributed version control system developed by linus torvalds
- Pros:
- Cons:
- Not fast with large binary files.
- Git is installed on all the systems
- If you want to make any system/node to act as a server we need a daemon (service) which
- accepts the incoming requests
- does the user management

- Git is a Source Code Repository,
- It maintains history
- It maintains metadata
Version Control System Features
- Version control system is a software which is a source code Repository with features such as
- Multi-user support
- History
- Support for multiple releases/customers in a way to work in parallel in same repository
- User management
Git Basic Workflow in local system
- In Git we have 3 areas in Repository
- Working Tree: Here we make changes
- Staging Area: Here we move/categorize changes
- Local Repo: Here we seal the changes for one feature/defect as a commit

Installing Git
# for debian
sudo apt install git -y
# for redhat
sudo yum install git -y
# install homebrew
# https://brew.sh/
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install git
lets create a repository
- Create a folder and execute
git init
Like this:
Like Loading...