Embed a Github repository into other GitHub Repositories


I have a number of Git PowerShell repositories. These all make use of a number of common functions. Rather than repeat this code (and maintain separate variations) I would like to place this function in a Git Repository on its own and then include this repository within other repositories in which it will be used.

Can I do this?

Thank you

Submodules should be able to do what you need: Git - Submodules