Do you have any thoughts on moving this into `git_futils` (or some other util area)?  I feel like I've seen this pattern elsewhere but a quick glance wasn't illustrative.