added logic to commit & push the repo