Resolving Application Dependencies with Git Submodules | Heroku Dev Center
Git submodules, library vendoring, and private package repositories are all available when specifying application dependencies on Heroku.