added support for cross platform git no commit messages for prompt