vscode save git credentials

C++
git remote set-url origin https://<USERNAME>:<PASSWORD>@bitbucket.org/path/to/repo.git
Source

Also in C++: