Open the GitHub repository
Click Settings
Select Collaborators and teams or Manage access
Click Add people
Enter the contributor’s GitHub username, full name, or email
Select the correct user
Choose the permission level
Click Add or Invite
Ask the contributor to accept the invitation
