Hello Zdenek,
Are you using Git to manage your project?
You will need to remove the Git files from your project before you upload it to ArcGIS Online.
In the next version of AppStudio, we will be able to ignore these files, but for Beta 4, you will have to remove them yourself.
Thanks,
Hannah