check for valid repository in Gitit initialisation
add ITDB initialisation from first remote branch