Add api to get update remote branch names.