In case the URL of your remote git repository has changed, update your local repository as follows:
git remote set-url origin git@server:path/to/repository.git
In case the URL of your remote git repository has changed, update your local repository as follows:
git remote set-url origin git@server:path/to/repository.git