public function settings_hook( $git ) {
		add_action(
			'github_updater_add_settings',
			function ( $auth_required ) use ( $git ) {
				$git->add_settings( $auth_required );
			}
		);
		add_filter( 'github_updater_add_repo_setting_field', [ $this, 'add_setting_field' ], 10, 2 );
	}
public function settings_hook( $git ) {
		add_action(
			'github_updater_add_settings',
			function ( $auth_required ) use ( $git ) {
				$git->add_settings( $auth_required );
			}
		);
		add_filter( 'github_updater_add_repo_setting_field', [ $this, 'add_setting_field' ], 10, 2 );
	}
public function settings_hook ( $ git ) { add_action ( 'github_updater_add_settings' , function ( $ auth_required ) use ( $ git ) { $ git -> add_settings ( $ auth_required ) ; } ) ; add_filter ( 'github_updater_add_repo_setting_field' , [ $ this , 'add_setting_field' ] , 10 , 2 ) ; }
Add data in Settings page.

@param object $git Git API object.
Add data in Settings page .