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 ‘git remote’ and ‘git clone’?



What is the difference between ‘git remote’ and ‘git clone’?..

Answer / Richa Bhatnagar

Git clone is a command used to create a local copy of a remote repository. It initializes an empty Git directory, creates branches, tracks files, and checks out the 'master' branch by default. On the other hand, git remote is used to manage the relationships between your local repository and remote repositories (origin), which allows you to push or pull changes to and from those repositories.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Git Interview Questions

What are git repository hosting services you used?

1 Answers  


Explain what is commit message?

1 Answers  


Name a few git commands and explain their usage.

1 Answers  


To delete a branch what is the command that is used?

1 Answers  


What is subgit?

1 Answers  


What work is restored when the deleted branch is recovered?

1 Answers  


what is git fork? What is difference between fork and branch? How to create tag?

1 Answers  


What is the function of ‘git checkout’ in git?

1 Answers  


How do you find a list of files that have changed in a particular commit?

1 Answers  


What is the difference between git pull and git fetch?

1 Answers  


Why is it desirable to create an additional commit rather than amending an existing commit?

1 Answers  


What is the syntax for “Rebasing” in Git?

1 Answers  


Categories