bash
git checkout branch_to_backup
git checkout -b backup_of_branch_to_backup