"Create a new GitHub repository" shows wrong username and broken dropdown

Problem description:

When I go to create a new Git repo in Github the screen doesn’t show my Github Username, and the drop down is not clickable. It does not let me create repos as that user :sweat_smile: so I don’t believe this is a security risk.

Expected behavior:

I can create repos as myself or in an organization.

Actual behavior:

I cannot create repos as myself or in an organization.
I am shown a user that I have no control over.

Steps to reproduce:

Go create a new repl and go create a new git repo for it.

Bug appears at this link:

Browser/OS/Device:

Chrome Version 108.0.5359.124 (Official Build) unknown (64-bit)

❯ lsb_release -a
No LSB modules are available.
Distributor ID:	Pop
Description:	Pop!_OS 22.04 LTS
Release:	22.04
Codename:	jammy

So I did mawr digging!

So it turns out, I have access to a private repo that is owned by unfinishedtomato - this likely explains why I see them here.

I also have refreshed my Replit Github App integration by clicking on the “Manage the GitHub repos Replit can import.” on the " Connect an existing repository" modal.

After refreshing the integration the drop down now enables me to select my username as a username for creating a new repo! However, it still lists unfinishedtomato, and that seems like a bug.

1 Like

Git integration with replit is a little bumpy to be honest, but we’ll be working on fixing that up soon. In our documentation on git, we have some instructions on how to link your github account with replit correctly.