After cloning from remote git repository (at bettercodes) I made some changes, commited and tried to push:
git push origin master
Errors
Run git fetch --all before git pull. That should solve the problem.
git fetch --all
git pull