branches function

List, create and delete branches