Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Devops
  3. Question
Devops

git - remote add origin vs remote set-url origin

Asked by Julia Graham Aug 15, 2025 4.7K views 1 answer
Share

About this question

How do these Git commands manage remote repositories differently? While both relate to configuring your Git remote, one is used for adding a new remote, and the other for changing an existing one. Let’s understand when and why you’d use each.

Your answer

1 Answer

More Devops discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest DevOps Blogs

Guides, tips and career advice on DevOps from JanBask experts.