If you're using a Jenkins Pipeline, you can checkout multiple repositories
so long as each repository is placed into its own directory in the
workspace. You define the checkout, including the repository URL, the
credentials, and the branch.
If you're not using a Jenkins Pipeline, you should not
I have some builds that require multiple github repos. One contains build
scripts on master branch. ANother contains code on a different branch.
I noticed the source code management settings in Jenkins there is a way to
add another repository but it only allows me to specify one branch.