add cmd completion & update getBranchList