Remove target classes from git commit