The message "client_global_hostkeys_private_confirm: server gave bad signature for RSA key 0" is not an error, it is a warning, and it is related to some ssh versioning issue. It used to be very common to receive from GitLab.
If you want it to go away, you can make sure that your ~/.ssh/config
contains the following:
Host gitlab.com
UpdateHostKeys no
However, if you are in fact being prevented from pulling, then this bad signature warning is probably not the reason. Once you make the warning go away, you will still have to find the real problem that you have, about which we know nothing, as the question stands right now.
UPDATE
Regarding potential side-effects of using UpdateHostKeys no
, and risks of masking some serious problem in some other context, (as user J. B. Rainsberger poignantly asked in a comment,) user Mark Roberts commented:
according to the ssh_config man-page, setting UpdateHostKeys no
reduces security risks. It means that when a server has an old key (which your client has just accepted) and a new key (which the server wishes the client to remember for future use) the client will not accept the new key. Usually you want to trust a server who's old key you have already accepted, therefore the default is UpdateHostKeys yes. But there are cases (as in this question) where the automatic key updating mechanism doesn't work. It is safe to turn it off.