git.el: Retrieve the permissions for up-to-date files.