Add git clone support to prevent repository loss during composer update