Leave a collaborative repo
To leave a repository on which you are collaborating:
Click “Account Settings” > Click “Repositories”

An “x” will show up in the corner of the repositories you can remove.
None of your commits will be lost. Only the repository owner can delete repos.