Software-Engineering

Git and GitHub

Git

What is Git?

Git is a Distributed Version Control System (DVCS) created by Linus Torvalds in 2005. It is the most widely used version control system in the world today. Unlike centralized systems, Git allows every developer to have a full copy of the project history on their local machine.

How it Works

Git thinks of its data more like a set of snapshots of a miniature filesystem. Every time you commit, or save the state of your project, Git takes a picture of what all your files look like at that moment and stores a reference to that snapshot.

Key concepts include:

Why We Need It?

Other Options (Alternatives)

Pros and Cons

Pros:

Cons:


GitHub

What is GitHub?

GitHub is a cloud-based hosting service for Git repositories. It provides a web-based graphical interface and adds collaboration features on top of Git. It is a platform where developers can store, share, and collaborate on code.

Features

Pros and Cons

Pros:

Cons: