env test needs to deref git_buf's ptr