If you are the owner it is simple:
- Go to your repo and click the
Settingsbutton. - In the left menu click
Collaborators - Then Add their name.
Then collaborator should visit this example repo link https://github.com/user/repo/invitations
Source: Github Docs.