Do you need B
to be a remote repo?
In git
, you work on your own repo, that usually is a clone of a remote repo. So, it's a full repository. You commit to it, you checkout branches from it. And you connect it with other repositories for synchronizing commits.
If you don't need B
to be a remote repository, you can just git clone
a remote git repository, or git svn clone
a remote SVN repository. Then, you'll have two repositories, that would be synchronized as you pull
/push
/dcommit
/rebase
.
If you need your B
repository to be remote, you can always add another remote with git remote add
and push
/pull
to/from it, independently of when you synchronize with A
repo, independently of A
repo being git or SVN.