Login
Remember
Register
Ask a Question
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.
...