First find the terminal in Visual Studio Code
- Create your new repository on GitHub. Do not adde README, license or gitignore for now. Note the “remote repository URL”, which you will need in step 7 instead of **URL**.
- Open terminal
- Initialize a new Git repository: git init
- Stage your files before first commit: git add.
- Commit the files: git commit -m “Project started”
- Add remote repository: git remote add origin **URL**
- Verify the remote repository: git remote -v
- Push the first changes: git push -u origin master
Read more at Github Help.