improved git clone/update