Git bash for windows uses accountName/password even after fetching a token with curl

Git-Bash for Windows uses AccountName/Password to login, but now wants a personal access token. I used “curl -u DarkSky7:token” to create one, but I don’t know how to encourage Git-Bash to find/use it. If I want to use go get from a shell within Visual Studio, how would go get find/use the token created? Where is it stored? Is there a setting for it in Visual Studio?