Warn if file is not tracked by Git

Thanks to http://stackoverflow.com/a/21152503/153718