[Github Desktop] Failed to publish branch

I tried to create a github repo with an Unreal Engine project.
I followed exactly the steps described here : A new, community-hosted Unreal Engine Wiki - Announcements and Releases - Unreal Engine Forums

However when I try to publish my repo on Github, it takes forever and ends with “Failed to publish this branch”.

Notice that I created a project from a 2D scroller sample, so there was already some content (600MO).

Maybe that’s why it could not publish the project.

But there must be a way that I can publish my repo.

Hi, Here is a tip: If you’re a Visual Studio User:

  • You do not need Github Desktop. Visual Studio can handle Github from within visual studio.

*Visual Studio already handles the complicated setup you need for .git. It’s actually easier to do everything right within Visual Studio than to do it with multiple applications.

*You do not need to write git commands. Just press a button within Visual Studio and your project is in Github. (local repository too).