# 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 `fa24-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 fa24-proj2-yourname repo's Settings](https://2298606572-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcdiU6fRfcA5HPu98m2mw%2Fuploads%2Fgit-blob-90a0829c6f56c5592579fee8b4063c14d2db6337%2Fimage%20\(7\).png?alt=media)

![Go to Manage Access](https://2298606572-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcdiU6fRfcA5HPu98m2mw%2Fuploads%2Fgit-blob-f49406365c81af88df42b4b459b8cd499346cd46%2Fimage%20\(6\).png?alt=media)

![](https://2298606572-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcdiU6fRfcA5HPu98m2mw%2Fuploads%2Fgit-blob-d68ce49b36795993677b8be6a3570f455a8d3bfc%2Fimage%20\(8\).png?alt=media)

![Invite your partner (replace JoeBruin with your partner's GitHub username)](https://2298606572-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcdiU6fRfcA5HPu98m2mw%2Fuploads%2Fgit-blob-c2184addfe151556bc93d7d71d4aa407610aef70%2Fimage%20\(9\).png?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.
