I cloned a project of mine from GitHub over to Codeberg, by pulling it down to my local machine via git in the terminal, then creating a new empty project here in Codeberg (same name), adding Codeberg to my remote repo-list, and I tried pushing it to Codeberg.
I'm clumsy enough on Git that I thankfully just followed the directions provided by Codeberg (in the attached screenshot) ... except there's a typo in there.
For both given examples, the final command (for normal/default project set-up) should be
git push -u origin master
As a side-note, I would have just edited this myself and submitted a pull request ... except I couldn't see where/how to do that. Did I miss something on the "Clone this repo" Quick Guide page, or isn't it an option there?
ETA: I just noticed that the first code block also specifies to checkout to "main", so I suppose that block will work ... but in all the Git documentation I've ever seen, the default primary branch is always "master", not "main".