Refactors style of passing "name-status" to git.

Suggestion from @jacobvosmaer.