Revised git sheet code