clicking button makes git add and git commit