Simple function added that check is valid git repository path

without initializing Repository function