madbarron added a comment to T4801: Error with unclear next steps from `git push` to hosted repository.
I'm getting the same error as OP. It looks like the folder for the created repo is owned by root with drwxr-xr-x. If I chown the folder to my phd user, I can push to the repo.