...
As a self contained git repository storing the entire project and enabling you to push/pull commits to the component repository. This is the recommended approach for full functionality.
As a plain folder storing the component project as part of the Git Instance repository.
...