Hamas has released all 20 of the living captives it had been holding in the Gaza Strip, while Israel has begun freeing about 2,000 Palestinian prisoners under the conditions of the ceasefire deal.