This is a fix if the git files permission changed.
# run this from the root of the git working tree sudo chown -R "${USER:-$(id -un)}" .