https://blog.csdn.net/weixin_43742708/article/details/110889776
解决方法:
首先git checkout -b temp
其次git checkout master
就可以git push了