Guys i need to configure submodule on my project but i can't understand how submodule works i tried to read documentation but i failed to understand it
what i'm making new project
what i have is mainproject(visual studio project), team1 and team2 how to set up team1 and team2 as submodules inside mainproject.
i have 2 teams and i want each of them to upload their work on their section and to get updates from the other team
how to configure submodule and set each teams permission.
so heres scenario after setting up git
team1 and team2 are working on their section of this folder, when any of them finish something they push it into git and the other team pull this update in a way that team1 cannot push anything into team2's folder.