correct ownership for git checkout