0 votes
in Git by

 What is Git fork? What is difference between fork, branch and clone?

1 Answer

0 votes
by
  • 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.
  • 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.
  • 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.

Related questions

0 votes
asked Jan 6, 2021 in Git by GeorgeBell
+1 vote
asked May 14, 2019 in C Plus Plus by BravoChamp
...