When using the attachment or view git file macros, I was frequently seeing no repositories available.
I verified that I can only see repositories (with no restrictions) when I was authenticated as a confluence-administrator. if my session had timed out, or I dropped admin access, all repo's disappeared from the macros.
Testing verified this behavior. This will make using the macros impossible for my users.