refactor the savebranch list