checking if first open with git command succeeds.