added git functionality & repo cloning logic