git init git add . /* . => it is to add all the files */ for all files git add --all git commit -m "first_commit" git remote add origin https://github.com/yourusername/your-repo-name.git git push origin master