In the same flavor as this question, are there any possible complications that can arise when using the two services together?
No, they shouldn’t be used together.
.git
is an app folder.git status
may return different results on different computers that iCloud Drive is done syncing.More broadly speaking, git and iCloud Drive are two different lossy implementations of “what are the contents of this directory”, one shouldn’t expect them to be equivalent.