Type in the terminal of Visual Studio Code
# git init
# git add .
# git commit -m “initial commit”
Create a new repository on GitHub
# git remote add origin <the new .git URL>
Example: # git remote add orign https://github.com/martijnvandenboom/Java_tools.git
# git push -u origin main