added run-command-on-git-revisions with correct permissions