This is a paid feature.
When project is closed check is done to determine if there are any not committed changes or any not pushed commits.
Checks are controlled by following options in Settings... > Version Control > GitToolBox
Settings... > Version Control > GitToolBox