无法推送到 GitLab,远程端意外挂断

Can't push to GitLab, remote end hung up unexpectedly

问题
在 PhpStorm 中尝试在 gitlab.com 上推送我的项目时,出现以下错误:

fatal: The remote end hung up unexpectedly
error: failed to push some refs to 'https://gitlab.com/me/myrepo.git'

我没有看到任何其他类似问题的错误消息。

我试过的
我也尝试通过终端推送 git push origin master 但无济于事。我还尝试了一些我在类似问题上看到的东西,比如更改 http 缓冲区:git config http.postBuffer 524288000。不幸的是,这也没有改变结果。

我还尝试过创建一个新项目并推送到那个新的源,这产生了其他错误消息。我也尝试更改为 ssh,但是当按下按钮时,它想要推送所有曾经做过的提交。我不确定这是否是个好主意,所以我没有尝试。
这就是尝试 git pull --rebase:

时出现的情况
git pull --rebase 
error: merge-base died of signal 11
error: fetch died of signal 11

完整语法 git pull --rebase origin master.

也会发生

设置
我正在使用 PhpStorm 并且有 17 个提交需要推送,因为我遇到这个问题已经有一段时间了。我的 repo 是 gitlab.com 上的一个项目。

git --version
git version 2.17.0

是否有提示消息和错误? 有时本地回购不同步。 我这样做了:

git pull --rebase

git push

原来这是我的 git 安装中的错误,至少我是这么认为的。我得到更新后,问题消失了。