SyntaxFix
Write A Post
Hire A Developer
Questions
Since Git 2.13.0, it supports a new option to show the path of the root project, which works even when being used from inside a submodule:
git rev-parse --show-superproject-working-tree