I have a project in Gitlab that is available over HTTP/SSH:
git@192.168.1.10:MyGroup/MyProject.git
I want to change that using another IP, i.e.
You can use below command to set new URL for your repository.
git remote set-url origin git://git@192.168.1.20:MyGroup/MyProject.git