Training Question/Answer on My Own Codebase

Pretty new here, and I want to mess around a bit to learn more. I would love if I could train an LLM by providing my own code repo so that I could ask questions of it. I’ve briefly messed around with AutoTrain, but that seems limited to uploading CSVs. Anyone done this before and have any ideas? Thanks.