Fix for commit: check if there are changes in files that we need to commit and add files that are not under version control