The handle is in the wrong state for the requested operation

How solve this error : Error: Error: Git: -1/2: failed to get server certificate: The handle is in the wrong state for the requested operation