After cloning from remote git repository (at bettercodes) I made some changes, commited and tried to push:
git push origin master
Errors
Before pull you need to clean your local changes. following command help me to solve.
git remote prune origin
and then after
git pull origin develop
Hopes this helps!