git-ignore: After .gitignore is updated, add it to the git index

fc479fae-3106-11e4-9f2c-fefdb24f8e10