OtherGitOn this pageGit Git 关联本地文件夹到远程仓库 git initgit add README.mdgit commit -m "first commit"git branch -M maingit remote add origin git@github.com:Sunburst7/llm-learning.gitgit push -u origin main Git 分支管理 git checkout -b branch_name # 切换并新建git branch # 查看分支git checkout maingit branch -m old_name new_name # 重命名