This is just a quick one as a reminder to myself and a tip to everyone else.

Today I needed to set a bower dependency to a specific commit SHA. It was surprisingly more dificult than I expected. After tying many different command syntaxes etc. that littered Stackoverflow I eventually added the following to my bower.json.

  "dependencies": {
    "angular-material": ""

After adding this I received no strange #128 errors and other git issues.

Hope this helps someone else!