added optional synchronous exececution of git log, git commit, and git add