One practice that is really good to help prevent errors. When you’re about to commit to a repo. What you want to do is look at all the files in the commit and go through them one by one and review all the changes. Every single file all contents of those files. What this does is avoid you committing something you didn’t intend. Or maybe there’s some code that you even want to modify when you see it, even white speech changes. This is very good practice and helps you avoid committing things you didn’t intend to commit.