added option to run the check before a git command. fixed issue where the check would pick up print statements that were already committed (weren't being introduced) if they were near diff lines