How to add the repository to github : 1- Open terminal in Vscode 2- Type this: github . #if you have a directory without any file, git doesn't recegnize it. So add .gitkeep to it.