initialize commitIds to empty array when creating working copy