I made some changes to some HTML files of my project locally, and am trying to push the changes on my github repository using Git Bash. But it shows the following error
hint: Updates were rejected because the remote contains work that you do hint: not have locally. This is usually caused by another repository pushing hint: to the same ref. You may want to first integrate the remote changes
I had changed the name of repository form Github but had then updated it on Git Bash using the command
git remote set-url origin https://github.com/cyborg7459/bambinos-task1
How to fix this problem?