git fatal to push some refs code example
Example 1: failed to push some refs to repository
git pull --rebase
git push
Example 2: you failed to push some refs to git
git commit -m "initial commit"
git push origin +HEAD
git pull --rebase
git push
git commit -m "initial commit"
git push origin +HEAD