This is a bug in Git; when using HTTPS it will use chunked encoding for uploads above a certain size. Those do not work.
A trivial fix is to tell git to not chunk until some ridiculously large size value, such as:
git config http.postBuffer 524288000