'git push stalls on macOS

after the last two updates of xcode I am having a really annoying problem with git.

All commands but git push works perfectly. But git push stalls/hangs. This is both in xcode, in terminal, and magit through emacs. As can be seen in the picture below literally nothing happens. Any ideas on what is wrong. I have no clue how to provide a minimal working example for this.

It is across all my git repos, it is across gitlab, bitbucket, github, gitea, self hosted git-scm server, and more git repo services. Sometimes a computer reboot fixes it for like an hour or so.

enter image description here

I tried git push --verbose Which shows that git get stuck at or right after:

Pushing to gitlab.com:<PROJECT_URL> 

EDIT ["solved"]: @torek said it might be clamshell affecting the wifi card due to heat distribution. I have now tried to run in none-clamshell mode for while and it seems to "solve" the issue.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source