I propose that there should be a checkbox option in the projectorganizer settings that says:
[] Get project files from git repo
If checked, the file pattern textbox turns grey and instead geany uses the output from the command `git ls-files` to get a list of files currently under source control in the git repo. Most of the times these are exactly the files that you want to have in the project as project files.