Question: how to set git username and password windows?
Answer: For those who are using access token and a Windows environment, there is a simple way to do it: Start menu → Credential Manager → Windows Credentials → find the line (Git: https://whatever/your-repository/url) → edit, user name is "PersonalAccessToken" and password is your access token.