Make sure that everything was set up correctly by using the -verbose option.Run the Git Remote command with the set-url option and enter the copied URL.The URL can be found by clicking on the "Clone" button in the top right corner of the repository page. Now head over to your repository on Bitbucket and copy the repository URL.First, run the Git Remote command with the -v(verbose) to see the current URL. Now we want to change our remote URL in the local repository. Consider that we have migrated our remote repository from GitHub to BitBucket.Let's try to understand the above process with the help of an example. For GitHub, this URL can be found on the repository page by clicking on the "Code" button. The remote URL can be found on the repository page.Origin is a classic default name given to a remote. Since we are working with the origin, the remote name can be replaced with origin. Let's use the Git Remote command with the set-url option to change the URL of our remote.This displays the remote name and the URL to which we are pushing and from where we are fetching changes. Before changing the URL, we can check the remote by running the Git Remote command with the -v or the -verbose option.
![git create branch from remote url git create branch from remote url](https://linuxize.com/post/how-to-create-and-list-git-branches/featured.jpg)
We will be using this command along with the set-url option to change the URL of our remote.
![git create branch from remote url git create branch from remote url](https://wiki.eclipse.org/images/6/65/Egit-3.5-CreateBranchDialog.png)
In Git terminology, a remote is short for a remote repository.