I would like to ask what does the command \"git commit -vam \"message\" \" accomplish, because I have seen no difference with the command \" git commit
As many tools from the Linux ecosystem, Git command line supports two kinds of options:
-) followed by a single letter or digits; f.e. -v, -a, -m etc;--) that are followed by a word (letters and digits); f.e. --verbose, --add, --message etc;Both kinds of options can have values. The value of a short option follows the option after a space (e.g. -m subject). The value of a long option follows the option after an equal sign (e.g. --message=subject).
Two or more short options can be combined into a single word after the minus sign. E.g. -vam is the same as -v -a -m. At most one of them can have a value; the option that has a value should be the last one in the word and the value follows it as usual (separated by a space).
To summarize:
git commit -vam "message"
is the same as:
git commit -v -a -m "message"
which is the same as:
git commit --verbose --add --message "message" 
Read more about git commit and its options.
N.B. git -commit (as you wrote it in the question) is not a valid Git command or option. 
$ git -commit
Unknown option: -commit
usage: git [--version] [--help] [-C ] [-c name=value]
           [--exec-path[=]] [--html-path] [--man-path] [--info-path]
           [-p | --paginate | --no-pager] [--no-replace-objects] [--bare]
           [--git-dir=] [--work-tree=] [--namespace=]
            []
       You can always get help about Git by running git help on your command prompt. To get help about a specific Git command (commit, f.e.) run git help  (replace git help commit).