How about simply:
git add . 1>/dev/null 2>/dev/null
You can also do things like logging the warnings/errors to one file and the output to another with:
git add . 1>git.log 2>git.err