Check for git repository