I am having a strange issue that I can\'t seem to resolve. Here is what happend:
I had some log files in a github repository that I didn\'t want there. I found this
This looks like you ran git as root locally, thus changing ownership on some of the files tracking the location of the origin branch.
origin
Fix the file ownership, and you should be fine:
# run this from the root of the git working tree sudo chown -R "${USER:-$(id -un)}" .