Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



What is the difference between fork, branch, and clone?..

Answer / 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

More Git Interview Questions

What is the syntax for “Rebasing” in Git?

1 Answers  


What is the purpose of branching and how many branching strategies can you apply?

1 Answers  


What is ‘head’ in git and how many heads can be created in a repository?

1 Answers  


How can conflict in git resolved?

1 Answers  


What is the difference between git pull and git fetch?

1 Answers  


What commands will you use to bring a new feature to the main branch?

1 Answers  


What is ‘head’ in git?

1 Answers  


How many heads can be created in a repository?

1 Answers  


How to resolve a conflict in git?

1 Answers  


What is the purpose of branching in GIT?

1 Answers  


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

1 Answers  


Name a few git commands and explain their usage.

1 Answers  


Categories