Addded possibility to clone from github or another external git repository.