Github branch restriction

Hi. is that possible restrict the different user to view and pull different branch in the same repo 

Hi @kiapkiap,

 Welcome to the GitHub Community forum!

All branches is a part of the story of the repository, so you can’t set a visibility for a branch neither change that for a collaborator. What you can do is create rules for branches with the web UI on Settings->Branches :

This is the only thing that came to my mind for your question.

Hope this helps :slightly_smiling_face:  

-Gabriele-

Mark helpful posts with Accept as Solution to help other users locate important info. Don’t forget to give Kudos for great content!