Good afternoon, the question is:
I started using distributed git with my colleague, while in the most artisanal way: we created a shared folder on my workstation, there is a git repository, and use it as a server via http.
1) When I create a new branch on the “server” (after we have already cloned the rep from the server), information about this does not appear in the client copies.
Those. cloned the repository with the master branch, then I created the last and stable, additional branches on the "server", and I want clients to push / pull to last, pull from stable and not be able to see additional.
But in the end, the client (as expected) is not notified of new branches, but knowing their names can have full access to all branches.
Those. the question is whether it is possible to customize the rights, visibility, and notifications of the client about new branches with a regular git?
2) If the answer to question 1 is negative, then is there any distribution kit that will allow you to have all that is described above?
Thank you in advance!