If you checkout a Git repo into Google Drive each directory gets a hidden “Icon” file:

You can modify the .gitignore file with a simple “?” at the end of the “Icon” and that will ignore it.
# OS generated files #
######################
.DS_Store*
ehthumbs.db
Icon?