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
Let's concentrate on what it's complaining about exactly:
Permission denied error: Cannot update the ref 'refs/remotes/origin/master'.
Before doing recursive mod/ownership changes, traverse your way to that file and fix any permissions that are incorrect.
I think I caused this issue by creating a branch while I was root and then trying to mess with that branch as my user.