To edit remote origin URL in Git configuration file can be edited:
# more /home/taras/.git/config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote “origin”]
url = ssh://git@bitbucket.org/podlom/example.git
fetch = +refs/heads/*:refs/remotes/origin/*
#
Where url = ssh://git@bitbucket.org/podlom/example.git new example path.
To check new settings use command:
# git remote -v
origin ssh://git@bitbucket.org/podlom/example.git (fetch)
origin ssh://git@bitbucket.org/podlom/example.git (push)
#