git can't push refs to remote try running pull code example
Example: Can't push refs to remote. Try running 'Pull' first to integrate your changes.
To fix this go to
http://github.com/settings/emails
and unmark the box: Keep my email addresses private