stuck with 'git submodule add' Maybe git-submodule is broken

Dear fellows,

Never used submodules before, and here i am.

Asking all of you kindly to help me out to overcome the issue. Trying to use submodule add command but it keeps failing on me. 

Please give me any clue(s) what could be wrong, and what direction to look at!


C:\camunda\camunda-bpm-webapp>git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean

C:\camunda\camunda-bpm-webapp>git submodule add
fatal: 'submodule' appears to be a git command, but we were not
able to execute it. Maybe git-submodule is broken?

thanks in advance!

it appeared to be an attlasian client thing issue. after downloading the git from git.scm/download and placing one to the path ‘add submodule’ command started to work as expected. 

$ where git
C:\Program Files\Git\mingw64\bin\git.exe

$ git submodule add third_party/angular-data-depend
Cloning into 'C:/camunda/camunda-bpm-webapp/third_party/angular-data-depend'...
remote: Enumerating objects: 18, done.
remote: Counting objects: 100% (18/18), done.
remote: Compressing objects: 100% (18/18), done.

Receiving objects: 100% (247/247), 198.39 KiB | 744.00 KiB/s, done.
Resolving deltas: 100% (88/88), done.
warning: LF will be replaced by CRLF in .gitmodules.
The file will have its original line endings in your working directory