Add support for private repos as templates

https://twitter.com/joshmanders/status/1556719672216768513?s=21&t=xzy0UK1sGrGtBG30IH3sBQ