* Fail (and log message) if attempting to execute git commands in a directory that is not a git-repo.
* Add Test
* Code Formatting
---------
Co-authored-by: Constantin Comendant <constantin@uberagent.com>
Co-authored-by: Stefan Zweifel <stefan@stefanzweifel.dev>