Finished implementing all branch commands