From Italian banco (bench, sitting row, benches where rowers would sit in ships), originally a naval term, later becoming a group or assembly of sailors (often with the additional meaning of a mess or meal assembly), started being used by the army by 20th century latest.