Categories

Oct 16, 2019 in Git
Q: What is Git fork? What is the difference between fork, branch, and clone?

1 Answer

Oct 16, 2019
A fork is a copy of a repository. Normally you fork a repository so that you are able to freely experiment with changes without affecting the original project. Most commonly, forks are used to either propose changes to someone else’s project or to use someone else’s project as a starting point for your own idea.

git cloning means pointing to an existing repository and make a copy of that repository in a new directory, at some other location. The original repository can be located on the local file system or on remote machine accessible supported protocols. The git clone command is used to create a copy of an existing Git repository.

In very simple words, git branches are individual projects within a git repository. Different branches within a repository can have completely different files and folders, or it could have everything the same except for some lines of code in a file.
Click here to read more about GIT
Click here to read more about Insurance

Related questions

Madanswer
May 21 in Git
Sep 3 in Git
Oct 15, 2019 in Git
...