Updating permissions and `.git*` files.