Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What is Git fork? What is difference between fork, branch and clone?
Home
Git
What is Git fork? What is difference between fork, branch and clone?
0
votes
asked
Aug 16, 2020
in
Git
by
RShastri
What is Git fork? What is difference between fork, branch and clone?
git
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Aug 16, 2020
by
RShastri
A
fork
is a remote, server-side copy of a repository, distinct from the original. A fork isn't a Git concept really, it's more a political/social idea.
A
clone
is not a fork; a clone is a local copy of some remote repository. When you clone, you are actually copying the entire source repository, including all the history and branches.
A
branch
is a mechanism to handle the changes within a single repository in order to eventually merge them with the rest of code. A branch is something that is within a repository. Conceptually, it represents a thread of development.
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Related questions
0
votes
Q: What is the difference between clone, fork, and branch on Git?
asked
Aug 22, 2023
in
Git
by
JackTerrance
github-interview-questions-answers
0
votes
Q: What is Git fork? What is the difference between fork, branch, and clone?
asked
Oct 16, 2019
in
Git
by
rajeshsharma
git-fork
git-branch
git-clone
0
votes
Q: What is the use of a Git clone?
asked
Mar 26, 2021
in
Git
by
rajeshsharma
git-clone
git
clone
0
votes
Q: How do I delete a Git branch locally and remotely?
asked
Jan 9, 2021
in
Git
by
SakshiSharma
git
version-control
git-branch
git-push
git-remote
0
votes
Q: How can we delete a Git branch locally and remotely?
asked
Jan 6, 2021
in
Git
by
GeorgeBell
git
0
votes
Q: How to recover a deleted branch using git reflog?
asked
Mar 26, 2021
in
Git
by
rajeshsharma
git
eflog
delete-branch
0
votes
Q: What is the difference between GIT and SVN?
asked
Mar 26, 2021
in
Git
by
rajeshsharma
git
svn
git-vs-svn
0
votes
Q: Difference between “git add -A” and “git add .”
asked
Mar 11, 2021
in
Git
by
rajeshsharma
git
git-add
git-copy
0
votes
Q: Could you explain what is the difference between Git and SVN?
asked
Oct 15, 2019
in
Git
by
rajeshsharma
git-vs-svn
git
svn
difference-in-git-and-svn
+1
vote
Q: How to Delete a local and a remote GIT branch?
asked
May 14, 2019
in
C Plus Plus
by
BravoChamp
git
...