How to set git origin

In this article let’s discuss about How to set git origin. Let’s go through the following methods without any delay.

Method 1:

 git remote -v
 git remote set-url origin

If you are facing any issues with the above approach then try the alternative that is given below. It may look similar but have a try!

Method 2 :

git remote set-url origin

Hope the above solution works.

Realted Posts : Remote: the project you were looking for could not be found. fatal: repository ‘’ not found