ParentFull threadbencoveney·Git has a mechanism for getting the root repo directory - `git rev-parse --show-toplevel`View on HN