Improved git repo only code