git_checkout_options.file_mode

default is 0644 or 0755 as dictated by blob

struct git_checkout_options
uint file_mode;

Meta