how to edit remote origin git code example
Example 1: change git remote
git remote set-url origin [email protected]:user/repository2.git
Example 2: git change remote
$ git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
Example 3: git change remote origin
git remote set-url origin new.git.url/here
Example 4: how to change remote origin guit
$ git remote set-url origin [email protected]:USERNAME/REPOSITORY.git
Example 5: change remote to use ssh git command
git remote add origin [email protected]:nikhilbhardwaj/abc.git