Update git counter script to work smoother on newly set up machines