check branches are of type list
Handle the case that same user may exists in different repositories for example hg/git
allow inserting multiple user_info