Updated 2 years ago
Git command to retrieve the root directory of a git repository.
git rev-parse --show-toplevel