Hi Thomas,
First create a personal access token on warden.mendix.com
When git asks for your credentials, use your mendix account email as username and your personal access token as password and it should work!
PS: make sure to select the right access scopes under Model Repository