Solve github :error: failed to push some refs to problem


**
The error code is reported as follows
* *

To [email protected]:Fu4ng/Cpp.git
 ! [rejected]        master -> master (non-fast-forward)
error: failed to push some refs to '[email protected]:Fu4ng/Cpp.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

The solution
The problem arises because you do not have a READme.md file in your local library
The solution is also simple
enter git pull --rebase origin master
to pull down the MD file on github.
You can successfully upload your code by typing in the Git push-u Origin Master.

Read More: