Philip O'Gorman the message you're reporting is not the same message as the message that is reported here. The text in your message:
stderr: remote: Counting objects: 1436, done.
indicates that command line git successfully authenticated to the remote git server, requested data, and received data. The reason for the failure is not clear in the log output you included, but it is sufficient to show that initial authentication and initial connection are not the issue you are seeing.
I suspect a configuration issue in your case, or an issue that your remote git server has chosen to close the connection after the authentication was successful and data was transferred.
The original message reported in this bug report was not able to authenticate to the remote server.