error code:
error: RPC failed; HTTP 401 curl 22 The requested URL returned error: 401
fatal: The remote end hung up unexpectedly
Solution:
1, run the command
git config --global credential.helper store
2, re-push
git push -u origin master
3. Follow the prompts to re-enter your user name and password GitHub
Cause Analysis:
Usually modify GitHub user name or password cause