git branch old git checkout old git add . git commit -m "old_test" git push -u origin old 然后你的項目上的分支中就會多一個叫old的分支