Update CommentCommand.php

Added `\.` and `$`
Does not work.
output looks like:

```
origin  git@github.com:lyrixx/GithubComment.git (fetch)
origin  git@github.com:lyrixx/GithubComment.git (push)
```