Add *.csv and *.png to .gitignore
Now the while loop does more acculate sleep