Add the first repository as a remote in the second repository:
git remote add other-repo <url-of-first-repo>
Fetch the branches from the first repository:
git fetch other-repo
to merge the desired branch from the first repository into your current branch: