Nested submodule within a project under additional DropBox control
===

Even if it seems to be senseless for many users, to use dropbox to backup a repo structure, let me shortly explain my problem: 
I'm on big trouble with my local repository and the understanding of submodule concepts as well.

I just tried to swap out a _code_ directory inside my parent.git repo. So I created a project _code_, init it seperately and pushed that repo to a remote. After removing it from repo I did: 

    git add submodule git@repo.de/my/path/to/code _code_

What seemed to be conspicuous to me here was that the command was followed by cloning. I though I had to init and update it first, so I did:

    git submodule init
    git submodule update

Next I commited the parent-repos

    git commit -am "Added submodule"

I realized that there is a directory parent.git/.git/modules/_code_ with the structure of a repos and pointed to by a file .git stored in _code_

Now lets start the more confusing part:
I wanted to have another repo under _code_ called _sharedproject_. So I did:

    git add submodule git@repo.de/my/path/to/sharedproject ./_code_/_sharedproject_

It didn't work. Without any gitgnore-file it sayed the path wouldnt be accepted. So I had to force it with git add submodule -f, that worked!

Next I commited within _code_ (the sub-submodule adding)

Strange structure now. I have a .git-**file** pointing to parent.git/.git/modules/n1/**modules**/n2.
When I made again in my submodule "git submodule init" I get a blank line. Anyways. The entire structure is right, isn't it?

After finish the upload of the structure to dropbox I went home from my work. I started dropbox, until finish the project&git-downwload.

Asking for

    git status

i received

> fatal: Not a git repository: my/path/to/parent.git/.git/modules/_code_

same message when changing into _code_. And and at least following message when I ask for status in folder _sharedproject_

> fatal: Not a git repository:
> my/path/to/parent.git/.git/modules/_code_/modules/_sharedproject_

What's going wrong here? I don't have any idea, do you? Thanks a lot! 
