New file has been created inside scripts directory

Meanwhile IDEA says that no changes were detected (which is true, no changes to committed files took place, yet new file was added)

Once file is added manually

IDEA now allows it to be committed

How can i configure IDEA to detect new files and allow them to be added (if added from outside of IDEA)
IDEA doesn’t show new files in the
Commit Projectdialog, vote for:Your question is also a duplicate of