Go to terminal,

cd projectFolder
git remote -v (it will show previous git url)
git remote set-url origin <https://[email protected]/username/newName.git>
git remote -v (double check, it will show new git url)
git push (do whatever you want.)