Before commiting you should do a file compare on every file that you want to commit. Here, you will check to make sure that you are not commiting temporary code or test code. You will also check for warnings, code formatting, and unneeded included packages.