My colleague and I are working on a project. However, he is the main person in-charge of the project and I am developing a module which is a part of that project. I want to know if what I wish to do is possible and the steps on how do I go about doing it. I am using a self hosted GitLab.
1) I want to be able to push to my own git repo which does not contain the entire project.
2) At the same time I also wish to be able to push my changes to his repo which contains the entire project.
3) I only want to pull from my repo which does not contain the whole project.
I am still relatively new to git, I seek your patience.
Many thanks!