Android studio Project and Library Dependency

  git, question

Problem scenario:
Lib A path: e: \ android _ studio _ workspace \ appcommonlibs
Project B path: e: \ android _ studio _ workspace \ android study

B depends on a. import A is a moudlc of b (path: e: \ android _ studio _ workspace \ android study \ appcommonlibs).
During development, moudlc may be modified. how can a and c be synchronized?

Note: lib A is a library on git.oschina.net.

With gitsubmodule referencehttps://github.com/bither/bither-android