In Git, how would you manage multiple remote repositories for the same local repository?

  • Use git branch
  • git remote add
  • git merge
  • git push
The correct option is B. git remote add is used to manage multiple remote repositories. It allows you to associate a remote name with a URL and then refer to that remote with the given name. This is useful for fetching and pushing changes to different remote repositories.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *