Future-proof git add

https://travis-ci.org/rust-lang/rust-by-example/builds/43929603#L411