Git fails to commit in case there are no changes. Notify the user of this at the user interface somehow.