How to push code from VS Code to Github
First create a public or private repository in Github. Then open the website folder in VS Code and run the below codes in the terminal one by one. For existing website, run the below commands to push to the Github. For forced push, run the below command.