Day 8 Task: Basic Git & GitHub for DevOps Engineers.

Day 8 Task: Basic Git & GitHub for DevOps Engineers.

What is Git?

Git is a DevOps tool used for source code management. It is a free and open-source version control system used to handle small to very large projects efficiently. Git is used to tracking changes in the source code, enabling multiple developers to work together on non-linear development.

What is Github?

GitHub is a web-based platform that provides hosting for software development and version control using Git. It serves as a collaborative platform for developers to work on projects, manage code repositories, and track changes made to code over time.

What is Version Control System?

A Version Control System (VCS) is a system that records changes to a file or set of files over time, so you can recall specific versions later. It allows multiple developers to collaborate on a project by keeping track of changes made to the source code, documents, or any other files.

There are two main types of version control systems: centralized version control systems and distributed version control systems. 1. A centralized version control system (CVCS) uses a central server to store all the versions of a project's files. Developers "check out" files from the central server, make changes, and then "check in" the updated files. Examples of CVCS include Subversion and Perforce. 2. A distributed version control system (DVCS) allows developers to "clone" an entire repository, including the entire version history of the project. This means that they have a complete local copy of the repository, including all branches and past versions. Developers can work independently and then later merge their changes back into the main repository. Examples of DVCS include Git, Mercurial, and Darcs.




要查看或添加评论,请登录

Bilal Yousaf的更多文章

社区洞察

其他会员也浏览了