Clean unwanted branch details from base branch