Error for logged in users and Git hang

Edit: this did not solve my problem, as I discover after several hours.

I’ve unchecked this feature:

admin->site admin → version checks → clear the checkbox → save

Site admin
Configure various settings relating to the management of your site
version_checks
Ping the Discourse Hub for version updates and show new version messages on the admin dashboard