Other authentication methods - GitHub Docs

You can use basic authentication for testing in a non-production environment.