If I do:
https://gitlab.com/es20490446e/express-repository HEAD
The command succeeds.
But if I do enter an invalid URL:
https://gitlab.com/es20490446e/express-repositoryx HEAD
It asks for credentials. Since I want to use the check inside a Bash script, it should not ask for those in any circumstance.
How to solve that?