github push rejected code example
Example 1: git push rejected
Just pull repository first and then try to push again
git pull --rebase remote_repo
git push origin remote_repo
Example 2: git push -u rejected
git pull origin master
git push -u origin master