adjusted git script