What is the difference between fork, branch, and clone?
Answer Posted / Gaurav Prakash
1. Clone: This creates an exact copy of a remote repository on your local machine. 2. Branch: A branch is a separate line of development within a single repository. It allows you to work on new features or fixes without affecting the main branch (usually 'master' or 'main'). 3. Fork: Forking creates an entirely new copy of a remote repository under your own account. This allows you to make changes and create a separate, independent project.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers