Git & Github
Git & Github
A-Centerlized system : here were all team members connect to a central server to get the latest copy
of code and to share the changes with others but only flowed in this system is the single point of
failure , if the server goes ofline then theam can't collaborate or save snapshots of thier project untinl
the server back online.
B-Distributed system : Unlike Centerlized system the team every team member can has a copy of
the project with its history on their machine so they can save the snapshot or checkpoint locally and
also it can be synchronize the work directory with other even if centeral server is ofline .
Why git ? :
1. Free
2. Open source
3. Super Fast
4. Scalable
5. Easy Branching or Merging
For Git, the direct competition includes various version control tools such as the following:
Subversion (SVN).
Helix Core by Perforce.
Mercurial.
PVCS Version Manager.
file:///C:/Users/Ayman/Desktop/Git/demo.html 1/2
7/22/24, 12:38 PM Git & Github
What is GitHub?
GitHub is a web-based hosting service for Git repositories. It makes Git more user-friendly and also
provides a platform for developers to share code with others.
In addition, GitHub makes it easy for others to contribute to projects. It also has a robust API that
allows developers to integrate GitHub into their own applications and workflows.
GitHub offers both a paid and free subscription. With a free subscription, users can create public
repositories. Public repositories are visible to anyone and can be cloned or forked by anyone.
# A fork is a separate copy of the Git repository that was made . A clone, in contrast, creates a linked
copy that will continue to synchronize with the target repository.) A paid subscription is required to
create private repositories. Private repositories are only visible to users who have been given access
by the repository owner.
In contrast, GitHub competes with other online SaaS vendors that specialize in GitOps in the cloud,
including the following:
GitLab.
Bitbucket from Atlassian.
AWS CodeCommit.
Azure DevOps Repos.
SourceForge
RhodeCode.
file:///C:/Users/Ayman/Desktop/Git/demo.html 2/2