We are using Github for our project, and thinking about hiring a contractor for some part of a project. Is it possible to expose only some part of the code base to the contractor using Github? If not, what tool should we use?

Thank you.