Setting up github repository for context with cody in vs code cody extension

I am not being able to set up my private repository for context in cody vs code extension. Please tell me how can I do so?
Also my cody extension is not reading the entire codebase for context. I think I need to setup the github repo with cody for context. Please help me on this thing!