visual studio code your repository has no remotes configured to push to code example
Example: your repository has no remotes configured to push to
git remote add origin https://github.com/user/repo.git
git remote add origin https://github.com/user/repo.git