add dependence on git for checkstyle-copyright
fix case if git is not present
fix whitespace
Merge pull request #474 from dwightguth/checkstyle-copyright

add dependence on git for checkstyle-copyright