Each of this could help
- Confirm if you are still connected using ssh. Type this:
ssh -T [email protected] If you get the message that you were successfully authenticated and that GitHub doesn't support shell access, then you can try pushing your code again.
- If the above did not work, create a new ssh key, add it to Github, and run the command again:
ssh -T [email protected]