check http(s) url to be accessible using configured credentials
to avoid git process to prompt for username