git config --global user.name “yourName”
git config --global user.email “yourEmail”
git clone http://yourAddress/test.git
cd test
git switch -c master
touch README.md
git add README.md
git commit -m “add README”
git push -u origin master
cd existing_folder
git init --initial-branch=master
git remote add origin http://yourAddress/test.git
git add .
git commit -m “Initial commit”
git push -u origin master
cd existing_repo
git remote rename origin old-origin
git remote add origin http://yourAddress/test.git
git push -u origin --all
git push -u origin --tags