The issue is because the local is not up-to-date with the master branch that is why we are supposed to pull the code before pushing it to the git
git add .git commit -m 'Comments to be added'git pull origin mastergit push origin master
Simply run this commands:
git pullgit add .git commit -m 'Your comment'git push