git cloning functionality