Use the following command to find out what Git thinks the root directory of your project is:
git rev-parse --show-toplevel
Given that, you might be able to discover something about why Git is doing what you observe.
Also check to make sure that you don't have an unexpected value set for the GIT_DIR
environment variable.