added .git and .git ignore to $restricted_names