Added `status` command to check config and git
Added `status` command to check config and git

- minor refactorings included to reduce code duplication
- fixed minor typo and log ordering issue

karfau/grav-plugin-git-sync,karfau/grav-plugin-git-sync,karfau/grav-plugin-git-sync,karfau/grav-plugin-git-sync