I\'m trying to push my project (all files in a new repository). I follow the steps but when I push with git push -u origin master I get this error:
git push -u origin master
i had created new repo in github and i had the same problem, but it also had problem while pulling, so this worked for me.
but this is not advised in repos that already have many codes as this could mess up everything
git push origin master --force