habs doch gefunden.
kanns jetzt nur nicht posten wegen post sperre.
It generally comes to mind that you have set up two-factor
authentication, after a few password trials and maybe a password reset.
So, how can we git clone a private repository using two-factor
authentication? It is simple, using access tokens.
How to Authenticate Git using Access Tokens
Go to https://github.com/settings/tokens
Click Generate New Token button on top right.
Give your token a descriptive name.
Set all required permissions for the token.
Click Generate token button at the bottom.
Copy the generated token to a safe place.
Use this token instead of password when you use git clone.
Wow, it works!