rm -rf .git //in git bash
//in terminal
git init
git add .
git commit -m "your commit message"
git remote add origin "/link"
git push -u origin master
cd to file directory in your terminal
//////
git init
git add .
git commit -m "your commit message"
git remote add origin "/link"
git push -u origin main