hello world!
git config --global user.name "your name"
git config --global user.email "your email"
git init
echo "Hello World!" > README.md
也可以手动创建文件
git add .
git commit -m "first commit"
git status
git log
git log --pretty=oneline
git branch -M main
git remote add origin https://github.com/yourname/yourrepo.git
git push -u origin main