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
As the error message says: git pull before you try to git push. Apparently your local branch is out of sync with your tracking branch.
git pull
git push
Depending on project rules and your workflow you might also want to use git pull --rebase.
git pull --rebase