test for git repository