Local repository as submodule
<p>Assume I have a repository named <code>Shared Features</code> on remote and local. </p>

<p>I want to add this repo to another git repo as a <code>submodule</code>, but instead of using the remote one, I want to use the local one (for bandwidth reasons). </p>

<p>So I want to use this local repo as somewhat a proxy between submodule and remote repo. Is this possible?</p>

<p>Thanks in advance.</p>

<p><strong>Note:</strong> I would be very much appreciated if you tell me how to do this in SourceTree as well.</p>

<hr>

<p><strong>Edit:</strong> I think I lack the terminology to make my question clear, so here I draw what I mean:
<a href="https://i.stack.imgur.com/4Bn6j.png" rel="noreferrer"><img src="https://i.stack.imgur.com/4Bn6j.png" alt="enter image description here"></a></p>