in Git by
Q:
What is Git fork? What is the difference between fork, branch, and clone?

► Click here to show 1 Answer

0 votes
by
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.
GIT
Learn More with Madanswer

Related questions

0 votes
asked Oct 16, 2019 in Git by rajeshsharma
...