If the project owned gitignore file is marked as hidden there will be a error-msg if source-tree tries to save a changed gitignore.
"Adding global ignore" failed with code -1: ... Access to the path "PROJECT-GITIGNORE-FILE" is denied.
May it tries to access (because of the "missing" project-ignore-file) the global one, which is restricted on my system.