Static initializer for git_buf from static buffer
Check quickly if buffer contains a NUL byte
Free the memory referred to by the git_buf.
Resize the buffer allocation to make more space.
Check quickly if buffer looks like it contains binary data
Set buffer to a copy of some raw data.
A data buffer for exporting data from libgit2