Add ignoreEmpty option to gitcommit

Adding an optional option (`ignoreEmpty`) to prevent the `gitcommit` task from failing when there are no unstaged changes. My use case is a task that uses `gitcommit` to commit a file that may or may not have changed, and the task should not fail if there is nothing to commit.