Maybe we can replace that with a call to `git_buf_attach()`?