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

Git-Bash for Windows uses AccountName/Password to login, but Github.com now wants a personal access token. I used “curl -u DarkSky7:token https://api.github.com/user” 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?