Test that `git_buf` correctly fails if no more bytes can be allocated. This is mostly for demonstration purposes.