If I have a repo lib with commit history:
lib
* commit-4 * commit-3 * commit-2 * commit-1
and I add it to my repo other repo app
app