added -r option - added git initialisation