# Adding a partner on GitHub

If you want to share your code over GitHub with your project partner you'll need to pick between the two of you whose copy of the starter code you want to work off of. For example, if users `OskiBear` and `JoeBruin` want to collaborate then they might both choose to work off of `sp26-proj2-OskiBear`. In that case `OskiBear` would navigate to "Settings", "Manage access", then "Invite teams or people" and add `JoeBruin`(see images below). `JoeBruin` should receive an email afterwards containing an invitation to the repo. Alternatively `OskiBear` can share the link to the repo after sending the invitation.

Once you both have access to the repo you your partner can clone the repo to get a local copy to work off of. From there you can share files over git, pushing and pulling updates as you collaborate. **Do not add anyone other than your project partner to your repository.** You aren't allowed to share code with any students other than your project partner for this project.

![Navigate to your sp26-proj2-yourname repo's Settings](https://678656433-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFVQnrLlCBowpNWJo1E%2Fsync%2F90a0829c6f56c5592579fee8b4063c14d2db6337.png?generation=1599798456341006\&alt=media)

![Go to Manage Access](https://678656433-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFVQnrLlCBowpNWJo1E%2Fsync%2Ff49406365c81af88df42b4b459b8cd499346cd46.png?generation=1599798455242759\&alt=media)

![](https://678656433-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFVQnrLlCBowpNWJo1E%2Fsync%2Fd68ce49b36795993677b8be6a3570f455a8d3bfc.png?generation=1599798457430817\&alt=media)

![Invite your partner (replace JoeBruin with your partner's GitHub username)](https://678656433-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFVQnrLlCBowpNWJo1E%2Fsync%2Fc2184addfe151556bc93d7d71d4aa407610aef70.png?generation=1599798454394042\&alt=media)

After following these steps your partner should receive an email containing an invitation link. Alternatively, you can share the link to the repo with your partner.
