xxxxxxxxxx
git init
git add . //this is what works . means current dir
git commit -m "init"
git branch -M main
git remote add origin <git-repo-link>
git push -u origin main
xxxxxxxxxx
echo "# TicTacToe" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/Sandox/TicTacToe.git
git push -u origin main
xxxxxxxxxx
echo "# MachineLearning" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/ruChikati/MachineLearning.git
git push -u origin main
create a new repository on the command line
xxxxxxxxxx
echo "# New-folder" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/ashish777gupta/New-folder.git
git push -u origin main