Extend die function to close database
correction on files in git