GIT Basics
Create Github Teams:
First sign in to your organization github account.
Once you sign in to your account and if you open view organnization you can able to see the above page.
Click on Teams .
You can see the below image
Now,you click on New team.
You’ll able to see the below page.Fill the details as per your requirements.
After creating team you will be able to see the below page.
If you click on members.you can add members to your team by providing their github username or mail.
Now,you have successfully created the github team .
How to mange branch restrictions/permissions in github
NOTE : You must have admin access orelse you have to be a codeowner to make these changes for branch restrictions/permissions.
Open the repository
Click on settings.
In the left access bar click on branches.
If you click on the edit rules you can able to see the rules which are applied for that branch.you should follow the rules when ever you are going to made any changes to that branch and pushing it.
The common restrictions we are following to merge branches are :
1.Requires pull request
2.Requires approvals from CODE OWNERS
Only the codeowners can have access to merge and makes changes to these rules.
Thank you……All the best :)