Git Remote Origin Edit

git remote set-url origin <repo url>
// Eg
git remote set-url origin https://github.com/myName/myRepo.git
shahul