You Shoud add the following line in command line : git remote set-url origin <URL> : or for example : "%USERPROFILE%\AppData\Local\GitHub\PORTAB~1\bin\git.exe" remote set-url origin https://github.com/omidashouri/imageprocessing1.git