What is the difference between ‘git remote’ and ‘git clone’?
Answer Posted / 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 View All Answers