Use a credential of type "Secret text" that contains a valid git api key for the specified repo.
For non-authenticated usage, select any one of the "Secret test" entries.