Whenever we upload any folder or repo of ours on github which is from our local system then we update it or change anything in our application then after that we again update that folder or repo on github. This also has to be done from the same folder from which the exiting folder has to be uploaded. We can solve this error in some ways, let us know how to do it.
git remote remove origin
git commit -m "Add new files to new-folder"
git remote add origin https://github.com/your-username/your-repo.git
git push -u origin