git push rejected, non-fast-forward
The remote has commits you do not have. Pull with rebase, or merge, then push. Do not force-push a shared branch.
Solutions
The message, why it happens, and the corrected code. Three opening solutions.
The remote has commits you do not have. Pull with rebase, or merge, then push. Do not force-push a shared branch.