Teams
What are Teams?
Teams are groups of users within an organization that share access to repositories and have specific permission levels. They help you manage access control efficiently.
Creating a Team
Steps
- Go to Organization → Settings → Teams
- Click "New Team"
- Configure:
- Team Name: Unique, descriptive name
- Description (optional): Team purpose
- Permission Level:
- Read: Can view and clone
- Write: Can push changes
- Admin: Full control
- Members: Add organization members
- Repositories: Grant repository access
- Click "Create Team"
Team Features
Members
Add Members:
- Go to team page
- Click "Add Member"
- Search for organization members
- Select and add
Remove Members:
- Find the member in team list
- Click "Remove"
Repositories
Grant Access:
- Go to team page
- Click "Add Repository"
- Select organization repository
- Set permission level (overrides team default if needed)
Remove Access:
- Find repository in team list
- Click "Remove"
Permission Levels
Read:
- View repository
- Clone repository
- View issues and pull requests
- Comment on issues/PRs
- Cannot push code
Write:
- All Read permissions
- Push to repository
- Create branches
- Create issues and PRs
- Manage issues and labels
- Cannot change settings
Admin:
- All Write permissions
- Manage repository settings
- Manage collaborators
- Delete repository
- Transfer ownership
- Manage webhooks and hooks
Managing Teams
Edit Team
- Go to team page
- Click "Settings"
- Update:
- Name
- Description
- Permission level
- Members
- Repository access
- Save changes
Team Members Can
- View all team repositories
- Collaborate based on permission level
- Participate in code review
- Create and manage issues
Team Owners Can
- Modify team settings
- Add/remove members
- Add/remove repositories
- Change permissions
Best Practices
- ✅ Name teams descriptively (e.g.,
frontend-devs, devops-team)
- ✅ Use minimum required permissions
- ✅ Regularly review team membership
- ✅ Document team responsibilities
- ✅ Create teams by function or project
- ✅ Audit access periodically
Common Team Structures
By Function
frontend - Frontend developers
backend - Backend developers
devops - Infrastructure and deployment
qa - Quality assurance
design - UI/UX designers
By Project
project-alpha - Team working on Project Alpha
project-beta - Team working on Project Beta
mobile - Mobile app team
By Access Level
maintainers - Full admin access
developers - Write access
contributors - Read access
Next Steps