Add gbd function for deleting branches