Make git.add() aware of opt.cwd

This pull request allows git.add() to take in cwd, in the same style as other commands. This allows the workflow of automating updating repositories outside the cwd - for instance, automating bower package publishing (what I'm using it for).