git2::REPOSITORY_INIT_SHARED_GROUP [] [src]

pub const REPOSITORY_INIT_SHARED_GROUP: RepositoryInitMode = $ BitFlags {
bits : $ value }

Use --shared=group behavior, chmod'ing the new repo to be group writable and "g+sx" for sticky group assignment