fixed setup to deal with the loss of permissions when moving in or out of git.

magic