Using git rev-parse --show-toplevel to find repo root

Fixes #104

--show-toplevel
Show the absolute path of the top-level directory.
https://www.kernel.org/pub/software/scm/git/docs/git-rev-parse.html