git does not detect miss created git repository

We must have something missing in the .git directory.