I'm getting an error on console when trying to "git add -A" after installing Google A

I have a problem with GIT after installing the Google Analytics+ plugin. When I'm trying to "git add -A" I get this error on the console:

fatal: Not a git repository: wp-content/plugins/google-analytics-async/google-analytics-async-files/externals/dash-notice/../../../.git/modules/google-analytics-async-files/externals/dash-notice

I'm trying to add full wp instance to git, but GA+ has a .git file inside of it, which it should not.
It's in: google-analytics-async/google-analytics-async-files/externals/dash-notice/.git

I think that removing this file from the plugin will solve the issue.