Avoid calling `git` more than necessary