"The default branch of this project clashes with another ref" after importing repo

I just imported a repo from github to gitlab and when I try to go to the main branch (was the default on GitHub and is still after the import) I seem to get redirected to a specific commit and get an error saying “The default branch of this project clashes with another ref”

image