create corresponding events when create branch/tag with UI