How to modify the folder name in github warehouse?

ls / tmp
project1 project2 project3 project4
tree / tmp/project1
images css js html

cd /tmp/
git init
git add  project1/
git commit -m "upload"
git remote add origin https://github.com/xxxx/mytest.git
git push -u origin master

now, https://github.com/xxxx/mytest has project1, and project1 has
images css js html
now I need
1. How do I rename project1, to my Test folder?
(mytest can be renamed in setting. )
the images, under 2.project1 is renamed to imgs?

Note: it all needs to be changed on github. Excuse me, how do you do that?

is it possible that only after deletion, the low end changes the folder name and then re-push?

Mar.18,2021

git mv project1 
git commit
git push
Menu