Add getBranches Command